Skip to content

Commit ddf065e

Browse files
committed
fix
1 parent f6e67a8 commit ddf065e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ jobs:
5353
ls -l ./
5454
hugo --gc --minify --cleanDestinationDir
5555
56-
- name: Upload artifact
57-
uses: actions/upload-pages-artifact@v3
56+
- name: Push
57+
uses: peaceiris/actions-gh-pages@v4
5858
with:
59-
# Upload dist repository
60-
path: './public'
61-
62-
- name: Deploy to GitHub Pages
63-
id: deployment
64-
uses: actions/deploy-pages@v4
59+
github_token: ${{ secrets.TOKEN }}
60+
publish_branch: master
61+
force_orphan: true
62+
publish_dir: ./public
63+
cname: liudon.com

0 commit comments

Comments
 (0)