We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1913d70 + 61cf7e7 commit 7dff3b1Copy full SHA for 7dff3b1
1 file changed
.github/workflows/documentation.yml
@@ -7,9 +7,10 @@ on:
7
- 'doc/**'
8
- '.github/workflows/documentation.yml'
9
10
-
11
12
permissions:
+ pages: write
+ contents: write
13
+
14
jobs:
15
docs:
16
runs-on: ubuntu-latest
@@ -24,9 +25,9 @@ jobs:
24
25
sphinx-build doc _build
26
- name: Deploy to GitHub Pages
27
uses: peaceiris/actions-gh-pages@v3
- if: ${{(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/doc_sandbox') }}
28
+ if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/doc_sandbox') }}
29
with:
30
publish_branch: gh-pages
31
github_token: ${{ secrets.GITHUB_TOKEN }}
32
publish_dir: _build/
- force_orphan: true
33
+ force_orphan: true
0 commit comments