Skip to content

Commit c349e4d

Browse files
authored
Update mkdoc.yml
1 parent 903f02c commit c349e4d

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/mkdoc.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ on:
33
push:
44
branches:
55
- main
6+
67
jobs:
7-
deploy:
8+
build:
89
name: Deploy docs
910
runs-on: ubuntu-latest
1011
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-python@v2
13-
with:
14-
python-version: 3.x
15-
- run: pip install mkdocs-material
16-
- run: mkdocs gh-deploy --force
12+
- name: Checkout main
13+
uses: actions/checkout@v2
14+
15+
- name: Deploy docs
16+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
CUSTOM_DOMAIN: page.poio.io
20+
EXTRA_PACKAGES: build-base

0 commit comments

Comments
 (0)