mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 15:38:39 +00:00
28 lines
776 B
YAML
28 lines
776 B
YAML
name: release-helm
|
|
|
|
on:
|
|
release:
|
|
types: [released] # don't trigger on pre-releases
|
|
workflow_dispatch: # allow manual trigger
|
|
|
|
defaults:
|
|
run:
|
|
# fail-fast using bash -eo pipefail. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
|
|
shell: bash
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
publish-chart:
|
|
permissions:
|
|
contents: write # to push helm charts
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
|
- uses: stefanprodan/helm-gh-pages@b43a8719cc63fdb3aa943cc57359ab19118eab3f
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
charts_dir: charts
|
|
target_dir: charts
|
|
linting: off
|