diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-06-13 15:27:31 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-06-13 15:27:31 +0200 |
commit | 08601e118e6b48e97497627d7026f67d0b626c3e (patch) | |
tree | 19f0611d42704aa2482377e0566ac1377d8f9ade | |
parent | 64cb7574ce630ca856934c1f1f2d43037868aac0 (diff) |
Rename NPM auth token to match NPM docs
https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow#set-the-token-as-an-environment-variable-on-the-cicd-server
It still isn't clear from the docs if this is enough.
-rw-r--r-- | .woodpecker.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml index 4bfa3f0..2e6df06 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -20,9 +20,8 @@ pipeline: publish-npm: image: node:lts - secrets: [ npmtoken ] + secrets: [ npm_token ] commands: - - npm config set -- '//registry.npmjs.org/:_authToken' "${NPMTOKEN}" - npm publish when: # Push new version when version tag is created |