Skip to content

change chart version (#479) #54

change chart version (#479)

change chart version (#479) #54

Workflow file for this run

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 }}