Skip to content

Commit

Permalink
fix(ci): add environment to the publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-super committed Nov 18, 2022
1 parent 123a503 commit 2694fa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish:
environment: release
if: github.ref == 'refs/heads/main'
needs:
- test
Expand Down

0 comments on commit 2694fa2

Please sign in to comment.