Skip to content

Merge pull request #1337 from kubernetes-sigs/dependabot/github_actio… #36

Merge pull request #1337 from kubernetes-sigs/dependabot/github_actio…

Merge pull request #1337 from kubernetes-sigs/dependabot/github_actio… #36

Workflow file for this run

name: publish_helm_chart
on:
push:
branches:
- main
- master
paths:
- ".github/workflows/chart.yaml"
- "charts/**"
# List of all permissions: https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token
# We need write permission for contents to be able to publish the chart
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
with:
egress-policy: audit
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
submodules: true
fetch-depth: 0
- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@0ad2bb377311d61ac04ad9eb6f252fb68e207260 # v1.7.0
with:
# GitHub automatically creates a GITHUB_TOKEN secret to use in your workflow. You can use the GITHUB_TOKEN to authenticate in a workflow run.
# See https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: charts
target_dir: charts
linting: off