Skip to content

Commit

Permalink
Chore: 使用环境变量 HUGO_VERSION 控制 Hugo 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Dec 17, 2024
1 parent 7494845 commit cb0793d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: latest
# use the environment variable HUGO_VERSION as the hugo version, if not set, use `latest`.
hugo-version: ${{ env.HUGO_VERSION || 'latest' }}
extended: true

- name: Update theme
Expand Down

0 comments on commit cb0793d

Please sign in to comment.