Skip to content

Commit

Permalink
CI: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
AydenMeng committed Dec 4, 2024
1 parent 1581333 commit fe054fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
hugo-version:
- 'latest'
- '0.124.0'
extended: true

- name: Build Web
run: hugo --gc --minify --cleanDestinationDir

- name: Deploy Web
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
Expand Down

0 comments on commit fe054fe

Please sign in to comment.