Skip to content

feat: auto-deployment #1

feat: auto-deployment

feat: auto-deployment #1

Workflow file for this run

name: "Publish charts to repo"
on:
push:
branches:
- main
tags:
- "chart-*"
paths:
- "charts/**"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
pages: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v4
- name: add repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1
with:
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"