File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 6
6
branches : ['*'] # <<<<<<<<< Return this to main before merging
7
7
8
8
permissions :
9
- contents : write
9
+ contents : read
10
+ pages : write
11
+ id-token : write
10
12
11
13
jobs :
12
14
deploy :
13
15
runs-on : windows-latest
16
+ environment :
17
+ name : github-pages
18
+ url : ${{ steps.deployment.outputs.page_url }}
14
19
steps :
15
20
- name : Checkout
16
21
uses : actions/checkout@v4
23
28
- name : Install the project
24
29
run : uv sync --locked --group docs
25
30
26
- - name : Deploy MkDocs
27
- run : mkdocs gh-deploy --force
31
+ - name : Build MkDocs
32
+ run : mkdocs build --site-dir ./deploy
33
+
34
+ - name : Setup Pages
35
+ uses : actions/configure-pages@v4
36
+
37
+ - name : Upload artifact
38
+ uses : actions/upload-pages-artifact@v3
39
+ with :
40
+ path : ' ./deploy'
41
+
42
+ - name : Deploy to GitHub Pages
43
+ id : deployment
44
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments