Skip to content

Commit

Permalink
Merge pull request #12 from cumulus-nasa/FixCircleCi
Browse files Browse the repository at this point in the history
Only push to npm from master
  • Loading branch information
Marc authored Mar 7, 2018
2 parents 1080aec + 2b6ca0f commit 711e528
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 711e528

Please sign in to comment.