This commit is contained in:
parent
e38ffe47f0
commit
70ba9f2e72
1 changed files with 12 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ name: Build Hugo Site
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Adjust if your main branch has a different name
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
|
@ -18,12 +18,12 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.18' # Specify the version of Go you need, align it with your project requirements
|
||||
go-version: '1.20.5'
|
||||
|
||||
- name: Set up Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.92.0' # Specify the Hugo version you need
|
||||
hugo-version: '0.121.2'
|
||||
|
||||
- name: Build Hugo site
|
||||
run: hugo --minify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue