From e6742f721c974a8e3af2eff6ca3949f1944efabf Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 9 Jan 2022 11:14:53 -0500 Subject: [PATCH] Trying to publish with npm token 13 --- .drone.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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