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