Created
October 5, 2019 06:33
-
-
Save kwonghung-YIP/6eaef3b17e1e697bfe73293bafee32c1 to your computer and use it in GitHub Desktop.
travis.yml for helm-charts-repo repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: minimal | |
if: branch = master | |
before_install: | |
- curl -L https://git.io/get_helm.sh | bash | |
- helm init --client-only | |
script: | |
- mkdir files-to-gh-pages | |
- echo $(pwd) | |
- helm package charts/tomcat -d files-to-gh-pages | |
- cp README.md files-to-gh-pages | |
- cd files-to-gh-pages | |
- helm repo index . | |
- ls -ltr | |
deploy: | |
provider: pages | |
github_token: $GITHUB_TOKEN | |
local_dir: files-to-gh-pages | |
target_branch: gh-pages | |
verbose: true | |
skip_cleanup: true | |
keep_history: true | |
on: | |
branch: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment