Skip to content

checksum for secret change #199

checksum for secret change

checksum for secret change #199

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
outputs:
release_status: ${{ steps.chart-releaser.outputs.changed }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
- name: Run chart-releaser
id: chart-releaser
uses: helm/[email protected]
with:
charts_dir: helm
pages_branch: main
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
copy-index:
needs: release
if: needs.release.result == 'success'
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Move Updated File
run: |
cp index.yaml build/index.yaml
- name: Configure Git
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push Changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git pull
git add build/index.yaml
git commit -m "Update index.yaml in build"
git push