We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 716b57a commit 49a589cCopy full SHA for 49a589c
.github/workflows/gh-pages.yml
@@ -1,4 +1,4 @@
1
-name: Deploy MkDocs to GitHub Pages
+name: Deploy Docs to GitHub Pages
2
3
on:
4
push:
@@ -13,13 +13,8 @@ jobs:
13
- name: Set up Python
14
uses: actions/setup-python@v4
15
with:
16
- python-version: "3.10"
17
- - name: Install deps
+ python-version: '3.10'
+ - name: Install dependencies
18
run: pip install mkdocs mkdocs-material
19
- - name: Build site
20
- run: mkdocs build --site-dir site
21
- - name: Deploy to GitHub Pages
22
- uses: peaceiris/actions-gh-pages@v3
23
- with:
24
- github_token: ${{ secrets.GITHUB_TOKEN }}
25
- publish_dir: site
+ - name: Deploy with MkDocs
+ run: mkdocs gh-deploy --force
0 commit comments