Skip to content

Commit 14427ea

Browse files
committed
more updates to workflow
1 parent f4ed858 commit 14427ea

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.github/workflows/deploy.yml

+23-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,30 @@ jobs:
1212
build:
1313
permissions:
1414
contents: write
15+
pages: write
16+
id-token: write
1517
runs-on: ubuntu-latest
18+
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
1623
steps:
1724
- name: checkout
1825
uses: actions/checkout@v4
19-
- name: build_and_deploy
20-
uses: zolacti/on@main
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v5
28+
- name: Setup Zola
29+
uses: jaxxstorm/[email protected]
30+
with:
31+
repo: getzola/zola
32+
tag: v0.19.2
33+
- name: Build site
34+
run: zola build
35+
- name: Upload artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: "./public"
39+
- name: Deploy to GitHub pages
40+
id: deployment
41+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)