Skip to content

Commit

Permalink
fix: allow for manual trigger the parts of the deployment that are no…
Browse files Browse the repository at this point in the history
…t cargo specific
  • Loading branch information
sassman committed Jan 11, 2025
1 parent 9718d54 commit 4aa0547
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ on:
paths-ignore:
- "**/docs/**"
- "**.md"
workflow_dispatch:
inputs:
version:
type: string
description: "Version"
required: true
default: "0.1.0"

jobs:
# call out to build.yml
doing-a-build:
uses: sassman/t-rec-rs/.github/workflows/build.yml@main

publish:
if: github.event_name == 'push' && contains(github.event.ref, 'refs/tags/v')
name: post / cargo publish
needs: [doing-a-build]
runs-on: macos-latest
Expand All @@ -34,7 +42,7 @@ jobs:
needs: [publish]
runs-on: macos-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v1
- uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: t-rec
env:
Expand Down Expand Up @@ -68,7 +76,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
with:
# This pulls from the "Get Changelog Entry" step above, referencing it's ID to get its outputs object.
# See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
Expand Down

0 comments on commit 4aa0547

Please sign in to comment.