Skip to content

Commit

Permalink
Merge pull request #35 from yeojz/feature/switch-npm-token
Browse files Browse the repository at this point in the history
chore: change deploy to tokens
  • Loading branch information
yeojz authored Mar 3, 2018
2 parents 7a3b249 + 9fa3de5 commit e572429
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
2 changes: 0 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ deployment:
commands:
- npm run clean
- npm run build
- echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
- cd dist && npm publish
- npm logout
- git config --global user.email $CI_DEPLOY_EMAIL
Expand All @@ -36,6 +35,5 @@ deployment:
commands:
- npm run clean
- npm run build
- echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
- cd dist && npm publish --tag next
- npm logout

0 comments on commit e572429

Please sign in to comment.