Fix bugs in CI set-up. (#144)

This commit is contained in:
Alex Collins 2019-10-31 11:28:02 -07:00 committed by GitHub
parent fc783d79d5
commit ed127ea795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -21,10 +21,13 @@ 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
export GIT_PUSH=true
else
export GIT_PUSH=false
fi
- run: sh ./scripts/publish.sh
sh ./scripts/publish.sh
workflows:
version: 2
workflow: