changes on circleci to .circleci/config.yml,CONTRIBUTING.md,
This commit is contained in:
parent
70f2a5e70d
commit
bbf01dde2b
2 changed files with 4 additions and 4 deletions
|
@ -15,13 +15,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# install the additional keys needed to push to Github. Alex Collins owns these keys.
|
# install the additional keys needed to push to Github. Alex Collins owns these keys.
|
||||||
- add_ssh_keys
|
- add_ssh_keys
|
||||||
- checkout
|
|
||||||
- run: helm init --client-only
|
|
||||||
- run: git config --global user.email "nobody@circleci.com"
|
- run: git config --global user.email "nobody@circleci.com"
|
||||||
- run: git config --global user.name "Circle CI Build"
|
- run: git config --global user.name "Circle CI Build"
|
||||||
|
- checkout
|
||||||
|
- run: helm init --client-only
|
||||||
# Only actually publish charts on master.
|
# Only actually publish charts on master.
|
||||||
- run: |
|
- run: |
|
||||||
if [ "$CIRCLE_BRANCH" = "circleci" ]; then
|
if [ "$CIRCLE_BRANCH" = "master" ]; then
|
||||||
echo 'export GIT_PUSH=true' >> $BASH_ENV
|
echo 'export GIT_PUSH=true' >> $BASH_ENV
|
||||||
fi
|
fi
|
||||||
- run: sh ./scripts/publish.sh
|
- run: sh ./scripts/publish.sh
|
||||||
|
|
|
@ -51,7 +51,7 @@ argocd app sync guestbook
|
||||||
|
|
||||||
## Publishing Changes
|
## Publishing Changes
|
||||||
|
|
||||||
To push changes use following script:
|
Changes are automatically publish whenever a commit is merged to master. The CI job (see `.circleci/config.yaml`) runs this:
|
||||||
|
|
||||||
```
|
```
|
||||||
GIT_PUSH=true ./scripts/publish.sh
|
GIT_PUSH=true ./scripts/publish.sh
|
||||||
|
|
Loading…
Reference in a new issue