Skip to content

Commit

Permalink
Fix npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ashanbrown committed Oct 11, 2018
1 parent 18391c9 commit 412909f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ jobs:
name: Publish packages
command: |
if [ "$CIRCLE_REPO" = "https://github.com/launchdarkly/ld-openapi" ]; then
npm install -g npm-cli-login
npm-cli-login -u "${NPM_LOGIN}" -p "${NPM_PASSWORD}" -e "{NPM_EMAIL}"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
make publish
fi
Expand Down

0 comments on commit 412909f

Please sign in to comment.