File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 6
6
workflow_dispatch :
7
7
8
8
permissions :
9
- contents : write # This allows pushing to gh-pages
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ concurrency :
14
+ group : " pages"
15
+ cancel-in-progress : false
10
16
11
17
jobs :
12
18
deploy_docs :
13
19
runs-on : ubuntu-latest
20
+ environment :
21
+ name : github-pages
22
+ url : ${{ steps.deployment.outputs.page_url }}
14
23
steps :
15
24
- name : Checkout repository
16
25
uses : actions/checkout@v4
20
29
enable-cache : true
21
30
- name : Install dependencies
22
31
run : make sync
23
- - name : Deploy docs
24
- run : make deploy-docs
32
+ - name : Build docs
33
+ run : mkdocs build --strict --site-dir site
34
+ - name : Configure Pages
35
+ uses : actions/configure-pages@v5
36
+ - name : Upload artifact
37
+ uses : actions/upload-pages-artifact@v3
38
+ with :
39
+ path : site
40
+ - name : Deploy to GitHub Pages
41
+ id : deployment
42
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments