Skip to content

Commit 4561435

Browse files
authored
Update build.yml
Adapt from official GitHub Actions workflow file example.
1 parent 5664cae commit 4561435

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ jobs:
1111
steps:
1212
- name: Checkout main
1313
uses: actions/checkout@v2
14+
- name: Setup Python 3.x
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.x
18+
- name: Install mkdocs-material
19+
run: pip3 install mkdocs-material
1420
- name: Deploy docs
15-
uses: mhausenblas/mkdocs-deploy-gh-pages@master
16-
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)