Skip to content

Commit

Permalink
Only push to npm from master
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Huffnagle committed Mar 7, 2018
1 parent 57042b1 commit 2b6ca0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- run:
name: Deploy
command: |
# if [ "${CIRCLE_BRANCH}" == "master" ]; then
if [ "${CIRCLE_BRANCH}" == "master" ]; then
cd ~/cumulus-message-adapter
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish || echo 'npm publishing failed'
# fi
fi

0 comments on commit 2b6ca0f

Please sign in to comment.