We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11283b6 commit 591571eCopy full SHA for 591571e
1 file changed
.github/workflows/docs.yaml
@@ -2,6 +2,8 @@ name: Build and publish docs
2
3
permissions:
4
contents: write
5
+ pages: write
6
+ id-token: write
7
8
on:
9
workflow_run:
@@ -29,7 +31,7 @@ jobs:
29
31
pip install -e .\[doc\]
30
32
- name: Build docs
33
run: |
- python doc/make.py
34
+ python docs/make.py
35
# Set up Rust for mdbook
36
- name: Install cargo
37
uses: actions-rs/toolchain@v1
@@ -65,4 +67,15 @@ jobs:
65
67
- name: Upload artifact
66
68
uses: actions/upload-pages-artifact@v3
69
with:
- path: ./docs/book
70
+ path: ./docs/book
71
+
72
+ deploy:
73
+ environment:
74
+ name: github-pages
75
+ url: ${{ steps.deployment.outputs.page_url }}
76
+ runs-on: ubuntu-latest
77
+ needs: build-and-publish-docs
78
+ steps:
79
+ - name: Deploy to GitHub Pages
80
+ id: deployment
81
+ uses: actions/deploy-pages@v4
0 commit comments