workflow modifications
@@ -19,9 +19,8 @@ jobs:
with:
ref: master
-# script with "helm repo" cmds and GH env vars which runs if a new release tag with symantic version is published
+# script with "helm repo" cmds and Chart.yaml modifications
- name: update with version tag
- if: ${{ ${GITHUB_REF##*/}=='v[0-9]+.[0-9]+.[0-9]+' }}
uses: stefanprodan/kube-tools@v1
with:
helmv3: 3.2.1
@@ -29,19 +28,7 @@ jobs:
helmv3 version
alias helm="helmv3"
cd ./deploy/helm/
- ./helm-repo-update_Tag.sh
-
-# script with "helm repo" cmds and GH env vars which runs if a change to 'deploy/helm/kuberhealthy/**' is pushed to master
- - name: update without version tag
- if: ${{ ${GITHUB_REF##*/}!='v[0-9]+.[0-9]+.[0-9]+' }}
- uses: stefanprodan/kube-tools@v1
- with:
- helmv3: 3.2.1
- command: |
- helmv3 version
- alias helm="helmv3"
- cd ./deploy/helm/
- ./helm-repo-update_noTag.sh
+ ./helm-repo-update.sh
#
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2.4.4
