From 2b6ca0f50fd5f15ce230427f228ec10f36978fa4 Mon Sep 17 00:00:00 2001 From: Marc Huffnagle Date: Wed, 7 Mar 2018 09:10:30 -0500 Subject: [PATCH] Only push to npm from master --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e7cb2ba..d06bb15 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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