Skip to content

Commit 49cf3a8

Browse files
committed
Updates zensical action
1 parent 7b95585 commit 49cf3a8

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/docs.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,27 @@ on:
33
push:
44
branches:
55
- master
6-
6+
- main
77
permissions:
88
contents: read
99
pages: write
1010
id-token: write
11-
1211
jobs:
1312
deploy:
1413
environment:
1514
name: github-pages
1615
url: ${{ steps.deployment.outputs.page_url }}
1716
runs-on: ubuntu-latest
1817
steps:
19-
- uses: actions/checkout@v4
20-
21-
- name: Setup Zensical
22-
uses: zensical/zensical-action@v1 # Official action
23-
24-
- name: Deploy to GitHub Pages
18+
- uses: actions/configure-pages@v5
19+
- uses: actions/checkout@v5
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: 3.x
23+
- run: pip install zensical
24+
- run: zensical build --clean
25+
- uses: actions/upload-pages-artifact@v4
26+
with:
27+
path: site
28+
- uses: actions/deploy-pages@v4
2529
id: deployment
26-
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)