Skip to content

Commit

Permalink
generate build artifact for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed Sep 6, 2024
1 parent 437fcf8 commit 2cc04f2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,14 @@ jobs:
- name: Build
run: hugo

- name: Store site.zip
uses: actions/upload-artifact@v4
with:
name: site
path: ./public

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
Expand Down

0 comments on commit 2cc04f2

Please sign in to comment.