diff --git a/.github/workflows/lib-ms.yml b/.github/workflows/lib-ms.yml index 6d69e9a67..0e57590ef 100644 --- a/.github/workflows/lib-ms.yml +++ b/.github/workflows/lib-ms.yml @@ -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: | diff --git a/docs/developer/github-actions.md b/docs/developer/github-actions.md index 0454018b8..44554673f 100644 --- a/docs/developer/github-actions.md +++ b/docs/developer/github-actions.md @@ -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)