Fix bugs in CI set-up. (#144)
This commit is contained in:
parent
fc783d79d5
commit
ed127ea795
3 changed files with 9 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue