diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98a1cd61f..427b54c43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/push-env.yml@v1.2.7 secrets: inherit with: