Skip to content

Commit 2cc04f2

Browse files
generate build artifact for easier debugging
1 parent 437fcf8 commit 2cc04f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,14 @@ jobs:
3939
- name: Build
4040
run: hugo
4141

42+
- name: Store site.zip
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: site
46+
path: ./public
47+
4248
- name: Deploy
43-
uses: peaceiris/actions-gh-pages@v3
49+
uses: peaceiris/actions-gh-pages@v4
4450
with:
4551
github_token: ${{ secrets.GITHUB_TOKEN }}
4652
publish_dir: ./public

0 commit comments

Comments
 (0)