helm release #30
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: helm release | |
on: | |
workflow_run: | |
workflows: ["release"] | |
types: | |
- completed | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Checkout helm chart repo | |
uses: actions/checkout@v3 | |
with: | |
repository: exposr/helm-charts | |
path: helm-charts | |
token: ${{ secrets.HELM_CHART_REPO_TOKEN }} | |
- name: Copy source chart | |
run: | | |
rm -fr helm-charts/charts/exposr | |
cp -rp helm helm-charts/charts/exposr | |
- name: Publish chart | |
run: | | |
cd helm-charts | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
git add . | |
git commit -m 'chore: update exposr chart' | |
git push |