go setup
This commit is contained in:
parent
63a0aa91b2
commit
a17f9700bb
@ -7,15 +7,7 @@ jobs:
|
|||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Hugo
|
- uses: actions/setup-go@v3
|
||||||
uses: peaceiris/actions-hugo@v2
|
|
||||||
with:
|
with:
|
||||||
hugo-version: '0.105.0'
|
go-version: '>=1.17.0'
|
||||||
extended: true
|
- run: go version
|
||||||
- name: Build
|
|
||||||
run: hugo
|
|
||||||
- name: Deploy
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ./public
|
|
Loading…
Reference in New Issue
Block a user