Merge pull request #7 from Bonial-International-GmbH/DS_sync_upstream #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: release-charts | |
on: | |
push: | |
# Release changed helm charts from `charts/` whenever a | |
# merge/push into `master` occurs. | |
# | |
# The packaged charts are stored in the `gh-pages` branch, the helm | |
# repository is served via GitHub Pages. | |
# | |
# See: https://github.com/helm/chart-releaser-action | |
branches: | |
- master | |
jobs: | |
release-charts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.7.1 | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
charts_dir: helm-charts | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |