Skip to content

Commit 4f51f8d

Browse files
authored
[CI] Fix documentation job (#7048)
second try based on o3 suggestions
1 parent 02a6bc5 commit 4f51f8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
schedule:
55
- cron: "0 0 * * *"
66

7-
permissions: read-all
7+
permissions:
8+
contents: write
89

910
jobs:
1011
Build-Documentation:
@@ -15,7 +16,7 @@ jobs:
1516
- name: Checkout branch
1617
uses: actions/checkout@v4
1718
with:
18-
token: ${{ github.token }}
19+
token: ${{ secrets.GITHUB_TOKEN }}
1920
fetch-depth: 0
2021

2122
- name: Clear docs

0 commit comments

Comments
 (0)