Skip to content

Commit 49a589c

Browse files
authored
Update gh-pages.yml
1 parent 716b57a commit 49a589c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy MkDocs to GitHub Pages
1+
name: Deploy Docs to GitHub Pages
22

33
on:
44
push:
@@ -13,13 +13,8 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.10"
17-
- name: Install deps
16+
python-version: '3.10'
17+
- name: Install dependencies
1818
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
19+
- name: Deploy with MkDocs
20+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)