Skip to content

Commit 4e88b5f

Browse files
committed
Another change in docs action
1 parent cdaf7f8 commit 4e88b5f

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/docs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
name: Deploy Docs
2-
env:
3-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2+
43
on:
54
push:
65
branches: [main]
76

7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
15+
816
jobs:
917
deploy:
1018
runs-on: ubuntu-latest
1119
steps:
12-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
1321
- name: Set up Python
1422
uses: actions/setup-python@v4
1523
with:
@@ -19,5 +27,7 @@ jobs:
1927
python -m pip install --upgrade pip
2028
pip install .[docs]
2129
- name: Deploy to GitHub Pages
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2232
run: |
2333
mkdocs gh-deploy --force

0 commit comments

Comments
 (0)