File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed 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 "[email protected] " 15+
16+ - name : Run chart-releaser
17+ 18+ with :
19+ charts_dir : ' /deploy/charts'
20+ skip_existing : ' true'
21+ packages_with_index : ' true'
22+ env :
23+ 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+ - master
6+ workflow_dispatch :
7+ branches :
8+ - master
9+ jobs :
10+ publish :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout Latest Changes
14+ uses : actions/checkout@v2
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