Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sovgut committed Aug 22, 2024
1 parent eb32f4d commit f2e9ba0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
required: true
type: string
secrets:
NPM_TOKEN:
GITHUB_TOKEN:
required: true

jobs:
Expand Down Expand Up @@ -42,4 +42,4 @@ jobs:
- name: Publish to Github
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- test
uses: Sovgut/state/.github/workflows/deploy-github.yml@main
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: '20.x'
package-version: ${{ needs.check-version.outputs.version }}

0 comments on commit f2e9ba0

Please sign in to comment.