Skip to content

Commit

Permalink
update: use prod-env for releases on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
paras-verma committed Oct 22, 2024
1 parent bae2f66 commit 0e0087d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

publish-npmjs:
needs: release
environment: prod
environment: ${{ github.ref_name == 'main' && 'prod' || '' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -85,7 +85,7 @@ jobs:

publish-gitlab:
needs: release
environment: prod
environment: ${{ github.ref_name == 'main' && 'prod' || '' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 0e0087d

Please sign in to comment.