Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Liudon committed Sep 27, 2024
1 parent f6e67a8 commit ddf065e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ jobs:
ls -l ./
hugo --gc --minify --cleanDestinationDir
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
- name: Push
uses: peaceiris/actions-gh-pages@v4
with:
# Upload dist repository
path: './public'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
github_token: ${{ secrets.TOKEN }}
publish_branch: master
force_orphan: true
publish_dir: ./public
cname: liudon.com

0 comments on commit ddf065e

Please sign in to comment.