Skip to content

Update publish.yml

Update publish.yml #17

Workflow file for this run

name: Publish Helm Chart
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Helm
uses: azure/setup-helm@v3
- name: Validate Helm Chart
run: helm lint .
- name: Create Kind Cluster
uses: helm/[email protected]
- name: Apply Helm Chart
run: helm install neondb .
- name: Configure Git
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Package Helm Chart
run: helm package .
- name: Publish Helm Chart
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"