Skip to content

Commit 3953b22

Browse files
committed
deploy to gh pages with gh action
1 parent d3a98f3 commit 3953b22

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/docs.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,20 @@ jobs:
3939
pip install --upgrade pip
4040
pip install --requirement docs/requirements.txt
4141
- name: Build documentation
42-
run: mkdocs gh-deploy --force
42+
run: mkdocs build
43+
# To remove if not using github pages
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: site
48+
49+
deploy:
50+
runs-on: ubuntu-latest
51+
needs: build
52+
permissions:
53+
pages: write
54+
id-token: write
55+
steps:
56+
- name: Deploy to GitHub Pages
57+
id: deployment
58+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)