Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
working publish with npm config set
Browse files Browse the repository at this point in the history
  • Loading branch information
robj committed Jan 19, 2021
1 parent 87e00fc commit 4e71d31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ name: npm publish
steps:
- name: npm publish
image: "casperlabs/clarity-build:latest"
failure: ignore
environment:
NPM_TOKEN:
from_secret: npm_token
Expand All @@ -134,10 +133,9 @@ steps:
- "git checkout $DRONE_TAG"
- "cd packages/sdk"
- "npm version"
- "env | sort"
- "npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN"
- "npm whoami"
- "npm publish --verbose; cat /root/.npm/_logs*"
- "npm publish --verbose"

trigger:
event:
Expand Down

0 comments on commit 4e71d31

Please sign in to comment.