Skip to content

Commit

Permalink
fix: github action environment
Browse files Browse the repository at this point in the history
  • Loading branch information
meta-d committed Dec 5, 2024
1 parent 5dfb076 commit b5b4d31
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
publish:
runs-on: ubuntu-latest
if: github.event_name == 'push' && !contains(github.ref, 'beta')
environment:
name: prod
environment: production
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -55,8 +54,7 @@ jobs:
publish-beta:
runs-on: ubuntu-latest
if: github.event_name == 'push' && contains(github.ref, 'beta')
environment:
name: prod
environment: production
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit b5b4d31

Please sign in to comment.