Skip to content

Commit

Permalink
gh-pages
Browse files Browse the repository at this point in the history
deployment
  • Loading branch information
martinliu committed Feb 21, 2024
1 parent 044cead commit a72c583
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: ./public
- name: Deploy to gh-pages 🚀 # gh-pages 用于测试目的,同时也是 staging 环境
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: public
clean: true
single-commit: true

# Deployment job
deploy:
Expand All @@ -72,12 +79,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

- name: Deploy to gh-pages 🚀 # gh-pages 用于测试目的,同时也是 staging 环境
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: public
clean: true
single-commit: true
uses: actions/deploy-pages@v4

0 comments on commit a72c583

Please sign in to comment.