Skip to content

Commit

Permalink
allow staging deploy when pushing to staging (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-guidini authored Nov 24, 2023
1 parent e187e61 commit 8e60c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
staging:
name: Push Staging Image
needs: [build, test]
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/staging') && github.repository_owner == 'codecov' }}
uses: codecov/gha-workflows/.github/workflows/[email protected]
secrets: inherit
with:
Expand Down

0 comments on commit 8e60c86

Please sign in to comment.