Skip to content

Commit 5fc8207

Browse files
committed
Use automatic token for publication to GitHub Pages for releases
1 parent 1e4b681 commit 5fc8207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ jobs:
180180
name: Publish documentation
181181
needs: publish_deployment
182182
runs-on: ubuntu-latest
183+
permissions:
184+
contents: write
183185
steps:
184186
- name: Check out repository
185187
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -209,7 +211,7 @@ jobs:
209211
uses: ./.github/actions/run-gradle
210212
env:
211213
GIT_USERNAME: git
212-
GIT_PASSWORD: ${{ secrets.GH_TOKEN }}
214+
GIT_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
213215
with:
214216
encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
215217
arguments: |

0 commit comments

Comments
 (0)