Skip to content

Commit

Permalink
removed npm github token
Browse files Browse the repository at this point in the history
  • Loading branch information
nichlaes committed Oct 31, 2024
1 parent 2303973 commit 6da1548
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lib-ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
registry-url: 'https://npm.pkg.github.com/'
directory: servers/lib
secrets:
NPM_TOKEN: ${{ secrets.NPM_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-package-npm:
if: |
Expand Down
1 change: 0 additions & 1 deletion docs/developer/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ from [docker hub](hub.docker.com):
| `DOCKERHUB_USERNAME` | Username on docker hub |
| `DOCKERHUB_TOKEN` | API token to publish images to docker hub, with `Read`, `Write` and `Delete` permissions |
| `NPM_TOKEN` | Token to publish npm package to Nodejs registry. |
| `NPM_GITHUB_TOKEN` | Token to publish npm package to Github registry |

Remember to add these secrets to
[Github Secrets Setting](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)
Expand Down

0 comments on commit 6da1548

Please sign in to comment.