2021-03-17 18:09:01 +00:00
name : release-helm
2022-10-07 15:43:56 +00:00
2021-03-17 18:09:01 +00:00
on :
release :
types : [ released] # don't trigger on pre-releases
workflow_dispatch : # allow manual trigger
2022-10-24 20:01:00 +00:00
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency :
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
cancel-in-progress : true
2022-10-07 15:43:56 +00:00
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
2022-03-28 20:20:31 +00:00
2021-06-29 19:43:13 +00:00
permissions :
2022-03-28 20:20:31 +00:00
contents : read
2021-06-29 19:43:13 +00:00
2021-03-17 18:09:01 +00:00
jobs :
publish-chart :
2022-03-28 20:20:31 +00:00
permissions :
contents : write # to push helm charts
2021-03-17 18:09:01 +00:00
runs-on : ubuntu-20.04
steps :
2022-08-31 10:44:22 +00:00
- uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
2023-02-28 02:17:32 +00:00
- uses : stefanprodan/helm-gh-pages@0ad2bb377311d61ac04ad9eb6f252fb68e207260
2021-03-17 18:09:01 +00:00
with :
token : ${{ secrets.GITHUB_TOKEN }}
charts_dir : charts
target_dir : charts
2022-10-07 15:43:56 +00:00
linting : off