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