Skip to content

Commit

Permalink
ci: Enable Chart publish
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Apr 18, 2022
1 parent 629c7d5 commit a1a2a26
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,34 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

chart-release:
runs-on: ubuntu-latest
needs: ["release-docker"]
#if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@master
with:
token: "${{ secrets.GH_RW_TOKEN }}"
charts_dir: helm
charts_url: https://riotkit-org.github.io/helm-of-revolution
owner: riotkit-org
repository: helm-of-revolution
branch: gh-pages
target_dir: ./
commit_username: "${{ env.GITHUB_ACTOR }}"
commit_email: "${{ env.GITHUB_ACTOR }}@users.noreply.github.com"

app_version: "${{github.ref_name}}"
chart_version: "${{github.ref_name}}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.build/*
!/.build/.gitkeep
/.idea
/coverage.out

0 comments on commit a1a2a26

Please sign in to comment.