change chart version (#479) #54
Workflow file for this run
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: Publish infra chart | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
path: th2-infra | |
- name: Checkout Helm repository | |
uses: actions/checkout@v3 | |
with: | |
repository: th2-net/th2-net.github.io | |
ref: master | |
token: ${{ secrets.PAT_CI_ACTION }} | |
path: th2-net.github.io | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.5.0 | |
- name: Create package and index | |
run: | | |
helm package ./th2-infra/chart/ --destination ./th2-net.github.io/ | |
cd ./th2-net.github.io/ | |
helm repo index --merge ./index.yaml . | |
- name: Commit & Push changes | |
uses: actions-js/push@master | |
with: | |
branch: master | |
directory: ./th2-net.github.io/ | |
repository: th2-net/th2-net.github.io | |
author_name: ${{ github.actor }} | |
author_email: ${{ github.actor }}@users.noreply.github.com | |
github_token: ${{ secrets.PAT_CI_ACTION }} |