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

Commit

Permalink
Merge branch 'master' into deploy_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zie1ony committed Feb 2, 2021
2 parents ee05e40 + 5f4a7d2 commit 0ab2224
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,25 +120,26 @@ depends_on:
---
kind: pipeline
type: docker
name: npm publish
name: npm-publish-tag

steps:
- name: npm publish
image: "casperlabs/clarity-build:latest"
environment:
NPM_TOKEN:
from_secret: npm_token
commands:
- "git fetch"
- "git checkout $DRONE_TAG"
- "cd packages/sdk"
- "npm version"
- "npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN"
- "npm whoami"
- "npm publish --verbose"
- name: npm-publish
image: plugins/npm
failure: "ignore"
settings:
username:
from_secret: npm_user
token:
from_secret: npm_token
email:
from_secret: npm_email
folder:
- "packages/sdk"
fail_on_version_conflict:
- true
access:
- "public"

trigger:
event:
- tag


ref:
- refs/tags/sdk*

0 comments on commit 0ab2224

Please sign in to comment.