File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Charts
2+ description : Push charts to GitHub Pages
3+ inputs :
4+ github-token :
5+ description : ' GitHub token for pushing to gh-pages branch'
6+ required : true
7+ runs :
8+ using : ' composite'
9+ steps :
10+ - name : Configure Git
11+ shell : bash
12+ run : |
13+ git config user.name "$GITHUB_ACTOR"
14+ git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
15+
16+ - name : Install Helm
17+ uses : azure/setup-helm@v4.2.0
18+
19+ - name : Add Helm Repos for Dependencies
20+ shell : bash
21+ run : |
22+ helm repo add bitnami https://charts.bitnami.com/bitnami
23+
24+ - name : Run chart-releaser
25+ uses : helm/chart-releaser-action@v1.6.0
26+ with :
27+ charts_dir : deploy/charts
28+ skip_existing : ' true'
29+ packages_with_index : ' true'
30+ env :
31+ CR_TOKEN : ' ${{ inputs.github-token }}'
Original file line number Diff line number Diff line change 1+ name : Release New Version
2+ on :
3+ push :
4+ branches :
5+ - main
6+ workflow_dispatch :
7+ branches :
8+ - main
9+ jobs :
10+ publish :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout Latest Changes
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+
18+ - name : Package and Publish Charts
19+ uses : ./.github/actions/publish_charts
20+ with :
21+ github-token : ' ${{ secrets.GITHUB_TOKEN }}'
You can’t perform that action at this time.
0 commit comments