Skip to content

Commit

Permalink
chore: run deploy workflow only if ref is master or develop
Browse files Browse the repository at this point in the history
  • Loading branch information
valerymelou committed Jul 13, 2024
1 parent 037e8e7 commit 4427742
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
key: ${{ steps.nx-cache-restore.outputs.cache-primary-key }}

deploy:
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'
needs: test
uses: ./.github/workflows/cd.yml
secrets: inherit

0 comments on commit 4427742

Please sign in to comment.