Skip to content

Commit bd1d62e

Browse files
committedNov 8, 2024
i hope this workflow finally works
1 parent 6c6fd20 commit bd1d62e

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed
 

‎.github/workflows/deploy.yml

+20-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,26 @@ jobs:
1616
id-token: write
1717
runs-on: ubuntu-latest
1818

19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
1923
steps:
2024
- name: checkout
2125
uses: actions/checkout@v4
22-
- name: build_and_deploy
23-
uses: zolacti/on@main
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v5
28+
- name: Setup Zola
29+
uses: jaxxstorm/action-install-gh-release@v1.12.0
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)
Please sign in to comment.