From bf7fea5b2231d36e76c6b4ec782237b8bfe60fcf Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 9 Jan 2022 11:25:57 -0500 Subject: [PATCH] Trying to publish with npm token 18 --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9eb1003..d4e3f6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,7 +41,8 @@ steps: - npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN" - echo "https://registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc - - npm publish --registry="https://registry.npmjs.org/:_authToken=$NPM_TOKEN" + - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc + - npm publish environment: NPM_TOKEN: from_secret: npm_token