We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3991c06 commit c75e8dfCopy full SHA for c75e8df
.github/workflows/docs.yml
@@ -0,0 +1,34 @@
1
+name: pages
2
+run-name: Deploy docs
3
+
4
+on:
5
+ push:
6
+ branches:
7
+ - master
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - run: pip install mkdocs mkdocs-material
15
+ - run: cd docs
16
+ - run: mkdocs build -f mkdocs.yml
17
+ - name: Upload GitHub Pages artifact
18
+ uses: actions/[email protected]
19
+ with:
20
+ path: site
21
22
+ deploy:
23
+ needs: build
24
+ permissions:
25
+ pages: write
26
+ id-token: write
27
+ environment:
28
+ name: github-pages
29
+ url: ${{ steps.deployment.outputs.page_url }}
30
31
32
+ - name: Deploy to GitHub Pages
33
+ id: deployment
34
+ uses: actions/deploy-pages@v2
.gitignore
@@ -1 +1,2 @@
/.venv
+/site/
0 commit comments