Skip to content

Commit 50c369e

Browse files
update sphinx gh-pages config
1 parent b4308a1 commit 50c369e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/sphinx.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ on: push
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
810
steps:
9-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
12+
with:
13+
persist-credentials: false
1014
- name: Build HTML
1115
uses: ammaraskar/sphinx-action@master
1216
- name: Upload artifacts
13-
uses: actions/upload-artifact@v3
17+
uses: actions/upload-artifact@v4
1418
with:
1519
name: html-docs
1620
path: docs/build/html/

0 commit comments

Comments
 (0)