We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdaf7f8 commit 4e88b5fCopy full SHA for 4e88b5f
.github/workflows/docs.yml
@@ -1,15 +1,23 @@
1
name: Deploy Docs
2
-env:
3
- GH_TOKEN: ${{ secrets.GH_TOKEN }}
+
4
on:
5
push:
6
branches: [main]
7
+permissions:
8
+ contents: read
9
+ pages: write
10
+ id-token: write
11
12
+concurrency:
13
+ group: "pages"
14
+ cancel-in-progress: false
15
16
jobs:
17
deploy:
18
runs-on: ubuntu-latest
19
steps:
- - uses: actions/checkout@v3
20
+ - uses: actions/checkout@v4
21
- name: Set up Python
22
uses: actions/setup-python@v4
23
with:
@@ -19,5 +27,7 @@ jobs:
27
python -m pip install --upgrade pip
28
pip install .[docs]
29
- name: Deploy to GitHub Pages
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
run: |
33
mkdocs gh-deploy --force
0 commit comments