From ad05e2f3d04c78ad49e8798a3468ab793f6ddf2b Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Thu, 31 Oct 2019 11:13:19 -0700 Subject: [PATCH] changes on fix to .circleci/config.yml, --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a1b183d9..3eb6fae9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,8 +21,11 @@ jobs: - run: helm init --client-only # Only actually publish charts on master. - run: | + set -x if [ "$CIRCLE_BRANCH" = "master" ]; then - echo 'export GIT_PUSH=true' >> $BASH_ENV + echo 'export GIT_PUSH=true' >> $BASH_ENV + else + echo 'export GIT_PUSH=false' >> $BASH_ENV fi - run: sh ./scripts/publish.sh workflows: