Create Beta Release #4
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 Releases | |
on: | |
workflow_dispatch: | |
jobs: | |
helm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: v3.12.0 | |
- name: Package Helm chart | |
run: | | |
make chart | |
- name: Clone charts repo | |
uses: actions/checkout@v3 | |
with: | |
repository: "${{ github.repository_owner }}/charts" | |
path: chart-index | |
token: "${{ secrets.FLANKBOT }}" | |
- name: Update chart repo | |
run: | | |
cd chart-index | |
cp ../mission-control-*.tgz ./ | |
helm repo index --merge index.yaml . | |
- name: Push changes to chart repo | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Release ${{ needs.semantic-release.outputs.release-version }} of ${{ github.repository }}" | |
branch: gh-pages | |
repository: ./chart-index |