Skip to content

Commit

Permalink
Update publish-on-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FineArchs authored Nov 20, 2023
1 parent 80b9a6f commit 8453a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
NPM_SECRETS: ${{ secrets.NPM_SECRET }}
if: ${{ envs.NPM_SECRET }}
if: ${{ env.NPM_SECRET }}

steps:
- name: Checkout
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ envs.NPM_SECRET }}
token: ${{ env.NPM_SECRET }}
tag: ${{ github.ref == 'refs/heads/aiscript-next' && 'next' || 'dev' }}
provenance: true

0 comments on commit 8453a79

Please sign in to comment.