Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1238007

Browse files
authoredMay 23, 2024··
Update docs.yml
1 parent 7c5a8cd commit 1238007

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed
 

‎.github/workflows/docs.yml

+16-6
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,23 @@ jobs:
1515
steps:
1616
- name: Checkout master
1717
uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.x
21+
- run: pip install mkdocs && pip install mkdocs-material==8.5
22+
- name: Deploy site
23+
run: mkdocs build
24+
# build according to mkdocs.yml in root directory
25+
- name: Deploy https://kjellkod.github.io/g3log/
26+
run: mkdocs gh-deploy --force
1827

19-
- name: Deploy docs
20-
uses: mhausenblas/mkdocs-deploy-gh-pages@master
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
CONFIG_FILE: mkdocs.yml
24-
EXTRA_PACKAGES: build-base
28+
29+
# - name: Deploy docs
30+
# uses: mhausenblas/mkdocs-deploy-gh-pages@master
31+
# env:
32+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
# CONFIG_FILE: mkdocs.yml
34+
# EXTRA_PACKAGES: build-base
2535

2636
# # Publish docs via GitHub Pages to https://kjellkod.github.io/g3log/
2737
# on:

0 commit comments

Comments
 (0)
Please sign in to comment.