Merge pull request #42 from shuqiang-zheng/master #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Charts | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
if: github.repository == 'cubefs/cubefs-helm' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Fetch history | |
run: git fetch --prune --unshallow | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
- name: Set up Helm | |
uses: azure/setup-helm@v2.0 | |
with: | |
version: v3.8.1 | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@v1.4.0 | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |