This commit is contained in:
parent
27e0ddf95b
commit
8da373eb46
2 changed files with 8 additions and 2 deletions
|
@ -9,10 +9,16 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.22.x"
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v3
|
uses: peaceiris/actions-hugo@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify --environment production
|
run: |
|
||||||
|
hugo mod get
|
||||||
|
hugo --minify --environment production
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: cloudflare/wrangler-action@v3
|
||||||
with:
|
with:
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,5 +1,5 @@
|
||||||
module code.icb4dc0.de/prskr/blog
|
module code.icb4dc0.de/prskr/blog
|
||||||
|
|
||||||
go 1.22.2
|
go 1.22
|
||||||
|
|
||||||
require github.com/LordMathis/hugo-theme-nightfall v0.7.1 // indirect
|
require github.com/LordMathis/hugo-theme-nightfall v0.7.1 // indirect
|
||||||
|
|
Loading…
Reference in a new issue