diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aa99ea3..98b9adb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 "$GITHUB_ACTOR@users.noreply.github.com" + + - 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}}" diff --git a/.gitignore b/.gitignore index df2a955..cb77526 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /.build/* !/.build/.gitkeep /.idea +/coverage.out