Skip to content

Merge pull request #14 from spring-financial-group/update-chart-testing #13

Merge pull request #14 from spring-financial-group/update-chart-testing

Merge pull request #14 from spring-financial-group/update-chart-testing #13

Workflow file for this run

name: Helm Publish
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check source code
uses: actions/checkout@v3
- name: next release version
id: nextversion
uses: jenkins-x-plugins/[email protected]
with:
previous-version: from-file:charts/tekton-dashboard/Chart.yaml
- name: Update version in Chart.yaml
id: updatechart
uses: mikefarah/[email protected]
with:
cmd: yq eval '.version = "${{ steps.nextversion.outputs.version }}"' -i charts/tekton-dashboard/Chart.yaml
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: update Chart.yaml'
- uses: J12934/helm-gh-pages-action@master
with:
access-token: ${{ secrets.GIT_TOKEN }}
charts-folder: "charts"
deploy-branch: "gh-pages"