generated from Zeronaut/nbco-hugo-web
gitea action hugo2netlify setup-go fixed3
This commit is contained in:
parent
e707149a85
commit
e6b4893540
@ -10,15 +10,20 @@ jobs:
|
||||
name: "Deploy Hugo site to Netlify"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ">=1.17.0"
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
name: Checkout
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/action-hugo@v2
|
||||
with:
|
||||
hugo-version: "0.124.1"
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
go version
|
||||
hugo version
|
||||
hugo
|
||||
hugo --minify
|
||||
- uses: https://github.com/nwtgck/actions-netlify@v2.0
|
||||
name: Deploy
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user