changes on fix to .circleci/config.yml,

This commit is contained in:
Alex Collins 2019-10-31 11:13:19 -07:00
parent fc783d79d5
commit ad05e2f3d0

View file

@ -21,8 +21,11 @@ jobs:
- run: helm init --client-only - run: helm init --client-only
# Only actually publish charts on master. # Only actually publish charts on master.
- run: | - run: |
set -x
if [ "$CIRCLE_BRANCH" = "master" ]; then 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 fi
- run: sh ./scripts/publish.sh - run: sh ./scripts/publish.sh
workflows: workflows: