Skip to content

Truncate the delete apiservice job name (#471) #70

Truncate the delete apiservice job name (#471)

Truncate the delete apiservice job name (#471) #70

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
- release-charts
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Helm
uses: azure/[email protected]
- run: make package
- run: git checkout gh-pages
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Release Charts
run: |
owner=$(cut -d '/' -f 1 <<< "$GITHUB_REPOSITORY")
repo=$(cut -d '/' -f 2 <<< "$GITHUB_REPOSITORY")
charts_repo_url="https://$owner.github.io/$repo"
helm repo index --url "$charts_repo_url" --merge index.yaml .
git add index.yaml *.tgz
git commit -m "push charts"
git push