Skip to content

Commit

Permalink
Switch to using GH App for pushing to gh-pages branch (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakhtin committed Aug 16, 2023
1 parent 7624824 commit 7dfb386
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: node
description: A Helm chart to deploy Substrate/Polkadot nodes
type: application
version: 5.1.6
version: 5.1.7
maintainers:
- name: Parity
url: https://github.com/paritytech/helm-charts
Expand Down
2 changes: 1 addition & 1 deletion charts/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is intended behaviour. Make sure to run `git add -A` once again to stage ch

# Substrate/Polkadot node helm chart

![Version: 5.1.6](https://img.shields.io/badge/Version-5.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 5.1.7](https://img.shields.io/badge/Version-5.1.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

## Maintainers

Expand Down

0 comments on commit 7dfb386

Please sign in to comment.