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"
|
name: "Deploy Hugo site to Netlify"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v4
|
|
||||||
with:
|
with:
|
||||||
go-version: ">=1.17.0"
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/action-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: "0.124.1"
|
||||||
|
extended: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
go version
|
|
||||||
hugo version
|
hugo version
|
||||||
hugo
|
hugo --minify
|
||||||
- uses: https://github.com/nwtgck/actions-netlify@v2.0
|
- uses: https://github.com/nwtgck/actions-netlify@v2.0
|
||||||
name: Deploy
|
name: Deploy
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user