Add files via upload #11
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
name: Create Helm Repository | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'latest' | |
- name: Package Helm Charts | |
run: | | |
helm package apachetest | |
# mkdir -p docs | |
# mv *.tgz docs/ | |
- name: Generate Helm Repository Index | |
run: helm repo index --url https://atcomputing.github.io/apachetest-charts . # --merge docs/index.yaml docs | |
- name: Commit Changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add -A | |
git commit -m "Update Helm repository" | |
git push |