-
Notifications
You must be signed in to change notification settings - Fork 65.1k
Fix token name for publishing GH packages #18940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The name of the token seems wrong as the original key results always in error saying it cannot find a token. Changing the `NODE_AUTH_TOKEN` to `NPM_AUTH_TOKEN` fixes the issue.
|
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Automatically generated comment ℹ️This comment is automatically generated and will be overwritten every time changes are committed to this branch. The table contains an overview of files in the Content directory changesYou may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.
|
|
@ValentinnDimitroff Thanks so much for opening a PR! I'll get this triaged for review ⚡ |
|
Thanks for opening a pull request! We've triaged this issue for technical review by a subject matter expert 👀 |
|
This is a gentle bump for the docs team that this PR is waiting for technical review. |
|
This is a gentle bump for the docs team that this PR is waiting for technical review. |
|
This is a gentle bump for the docs team that this PR is waiting for technical review. |
|
Thanks again for opening a PR! I've spoken with the team and can confirm that Check out Publish to npmjs and GPR with npm for more information. Thank you for your interest in improving GitHub Docs! 💖 |
Why:
The name of the token seems wrong as the original key results always in error saying it cannot find a token inside the workflow. This example is not reproducible.
Discussed here
What's being changed (if available, include any code snippets, screenshots, or gifs):
Changing the
NODE_AUTH_TOKENtoNPM_AUTH_TOKENlogs in the workflow successfully.Check off the following:
Writer impact (This section is for GitHub staff members only):