Skip to content

Commit bb849ed

Browse files
committed
Try to patch workflow
1 parent 21c5131 commit bb849ed

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/gh-pages.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@ jobs:
1919
submodules: true
2020
fetch-depth: 0
2121

22-
- name: Deploy the site
23-
uses: benmatselby/hugo-deploy-gh-pages@main
24-
env:
25-
HUGO_VERSION: 0.88.0
26-
TARGET_REPO: Killarexe/killarexe.github.io
27-
TARGET_BRANCH: master
28-
TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
HUGO_ARGS: ''
30-
CNAME: killarexe.github.io
22+
- name: Setup Hugo
23+
uses: peaceiris/actions-hugo@v2
24+
with:
25+
hugo-version: "latest"
26+
27+
- name: Build
28+
run: hugo --minify
29+
30+
- name: Deploy
31+
uses: peaceiris/actions-gh-pages@v3
32+
if: ${{ github.ref == 'refs/heads/master' }}
33+
with:
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
publish_branch: gh-pages
36+
publish_dir: ./public
37+

0 commit comments

Comments
 (0)