Skip to content

Commit

Permalink
Fixed CI to use tokens (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
prithivraj committed Jul 1, 2021
1 parent 4631b38 commit e0668d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions circle.yml
Expand Up @@ -71,9 +71,8 @@ jobs:
- run:
name: Publish to npm
command: |
echo -e "$NPM_USER\n$NPM_PASSWORD\n$NPM_EMAIL"
sudo npm install -g npm-cli-login
npm-cli-login -u $NPM_USER -p $NPM_PASSWORD -e $NPM_EMAIL
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > intercom-plugin/.npmrc
npm config set scope $ORG_NAME
cd intercom-plugin && npm publish
workflows:
Expand Down

0 comments on commit e0668d9

Please sign in to comment.