Remove env variable since it's set in ArgoCD (#866) #5
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: 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 }} |