Skip to content

Commit

Permalink
Only run deploy if main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman authored Oct 7, 2023
1 parent b068c0c commit 233b557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
deploy:
needs: "publish"
runs-on: "ubuntu-latest"
if: "github.ref == 'refs/heads/main'"
steps:
- uses: "emortalmc/actions/argo-sync@main"
with:
Expand Down

0 comments on commit 233b557

Please sign in to comment.