Skip to content

Commit

Permalink
Remove duplicate if: statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
sangaline committed Jan 17, 2024
1 parent 2a39be2 commit 5c16aa1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/common/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:

deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push'
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
needs: [lint-and-compile]
steps:
Expand Down

0 comments on commit 5c16aa1

Please sign in to comment.