Skip to content

Commit c662e79

Browse files
committed
Use automatic token for publication to GitHub Pages
1 parent 2ab952c commit c662e79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ jobs:
104104
cancel-in-progress: true
105105
needs: macOS
106106
runs-on: ubuntu-latest
107+
permissions:
108+
contents: write
107109
steps:
108110
- name: Check out repository
109111
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -135,4 +137,4 @@ jobs:
135137
-Dscan.tag.Documentation
136138
env:
137139
GIT_USERNAME: git
138-
GIT_PASSWORD: ${{ secrets.GH_TOKEN }}
140+
GIT_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)