magnum-capi-helm-charts/.github/workflows/publish-helm-charts.yaml
2021-08-23 11:43:58 +01:00

26 lines
758 B
YAML

name: Publish Helm charts
# Run the tasks on every push
on: push
jobs:
publish_charts:
name: Publish Helm charts to GitHub pages
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
with:
# This is important for "git rev-list --count" to work correctly when
# determining the number of commits since the last tag
fetch-depth: 0
# Use an up-to-date version of Python for the script
- uses: actions/setup-python@v2
with:
python-version: 3.9
# This action packages and pushes the chart
- name: Publish charts
run: ./scripts/publish-charts.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}