Skip to content

Merge pull request #63 from spring-financial-group/amend/deploy-node-… #67

Merge pull request #63 from spring-financial-group/amend/deploy-node-…

Merge pull request #63 from spring-financial-group/amend/deploy-node-… #67

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
with:
fetch-depth: 0
- name: Get Chart.yaml version change
id: check-change
run: |
if git diff --name-only -r HEAD^1 HEAD | grep charts/tekton-pipeline/Chart.yaml; then
echo "changed_version=$(git diff --name-only -r HEAD^1 HEAD | grep charts/tekton-pipeline/Chart.yaml)"
else
exit 1
fi
- uses: J12934/helm-gh-pages-action@master
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
charts-folder: "charts"
deploy-branch: "gh-pages"