Skip to content

Commit 3f19347

Browse files
authored
upgrade gh-pages to Zensical
Signed-off-by: JTH <git4jth@eacg.de>
1 parent 4bd84e7 commit 3f19347

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,27 @@ on:
33
push:
44
branches:
55
- main
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
612
jobs:
713
deploy:
14+
environment:
15+
name: github-pages
16+
url: ${{ steps.deployment.outputs.page_url }}
817
runs-on: ubuntu-latest
918
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-python@v2
19+
- uses: actions/configure-pages@v5
20+
- uses: actions/checkout@v5
21+
- uses: actions/setup-python@v5
1222
with:
1323
python-version: 3.x
14-
- run: pip install mkdocs-material
15-
- run: mkdocs gh-deploy --force
24+
- run: pip install zensical
25+
- run: zensical build --clean
26+
- uses: actions/upload-pages-artifact@v4
27+
with:
28+
path: site
29+
- uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)