diff --git a/.drone.yml b/.drone.yml index 0a5f035..8e3b324 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,18 +39,12 @@ steps: image: node:17-alpine commands: - - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - - echo "registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc + - npm config set //registry.npmjs.org/:_authToken "{NPM_TOKEN"" + - echo "registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc - npm publish environment: NPM_TOKEN: from_secret: npm_token - NODE_AUTH_TOKEN: - from_secret: npm_token - USERNAME: - from_secret: npm_username - PASSWORD: - from_secret: npm_password --- kind: pipeline