Skip to content

fix nil pointer (#1053) #10

fix nil pointer (#1053)

fix nil pointer (#1053) #10

name: Release conductor Helm Chart
on:
push:
branches: [ "main" ]
paths:
- 'charts/conductor/**'
workflow_dispatch:
jobs:
release-chart:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
path: 'code'
- name: Checkout gh-pages branch
uses: actions/checkout@v4
with:
ref: 'gh-pages'
path: 'gh-pages'
- name: Set up Helm
uses: azure/[email protected]
with:
version: 3.13.2
- name: Package Helm Chart
run: |
cd code/charts/conductor
helm package .
- name: Update Helm repo index
run: |
mv code/charts/conductor/*.tgz gh-pages/
cd gh-pages
helm repo index . --merge index.yaml --url https://tembo-io.github.io/tembo
- name: Commit and Push
run: |
cd gh-pages
git config user.name "tembo-service-user"
git config user.email "[email protected]"
git add .
git commit -m "Update Helm chart"
git push origin gh-pages
env:
GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_SSH_KEY }}