Skip to content

Commit

Permalink
Switch to using GH App for pushing to gh-pages branch
Browse files Browse the repository at this point in the history
Signed-off-by: bakhtin <[email protected]>
  • Loading branch information
bakhtin committed Aug 15, 2023
1 parent 7624824 commit 4361807
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false

- name: Configure Git
run: |
Expand All @@ -28,9 +29,16 @@ jobs:
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Retrieve GH app token
id: generate-github-app-token
uses: getsentry/action-github-app-token@v2
with:
app_id: ${{ secrets.CHART_UPDATER_APP_ID }}
private_key: ${{ secrets.CHART_UPDATER_APP_KEY }}

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: ${{ steps.generate-github-app-token.outputs.token }}
with:
charts_dir: charts

0 comments on commit 4361807

Please sign in to comment.