Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Feb 24, 2021
1 parent 9c1d531 commit 3da6de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/docs/build-platforms/github-actions.mdx
Expand Up @@ -77,7 +77,7 @@ If you are publishing to the Github Package Registry you will need to change a f
npx auto shipit
```

The `NODE_AUTH_TOKEN` variable is required the `.npmrc` that `actions/setup-node@v1` sets up.
The `NODE_AUTH_TOKEN` variable is required for the `.npmrc` that `actions/setup-node@v1` sets up.
If you aren't using `actions/setup-node@v1` replace the variable name `NODE_AUTH_TOKEN` with `NPM_TOKEN` and the `.npmrc` `auto` will handle authentication instead.

## Troubleshooting
Expand All @@ -98,7 +98,7 @@ steps:
- uses: actions/checkout@v2
with:
# Ensure that git uses your token with admin access to the repo
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.ADMIN_TOKEN }}

- name: Prepare repository
# Fetch full git history and tags
Expand Down

0 comments on commit 3da6de5

Please sign in to comment.