File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1- # # Reference: https://github.com/helm/chart-releaser-action
21name : Chart Publish
32on :
43 push :
54 branches :
6- - main
5+ - argo-workflows
76
87permissions :
98 contents : read
@@ -27,20 +26,19 @@ jobs:
2726 - name : Add dependency chart repos
2827 run : |
2928 helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
30-
3129 - name : Configure Git
3230 run : |
3331 git config user.name "$GITHUB_ACTOR"
3432 git config user.email "[email protected] " 35-
36- # # This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
37- - name : Fetch current Chart Index
33+ - name : Package chart
3834 run : |
39- git checkout origin/gh-pages index.yaml
40-
35+ rm -rf .cr-release-packages
36+ mkdir .cr-release-packages
37+ helm package charts/argo-workflows -u -d .cr-release-packages/
4138 - name : Run chart-releaser
42- uses : helm/chart-releaser-action@v1.4.1
39+ uses : helm/chart-releaser-action@main
4340 with :
4441 config : " ./.github/configs/cr.yaml"
42+ skip_packaging : true
4543 env :
46- CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
44+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments