build: bump golang and hugo version

This commit is contained in:
Adora Laura Kalb 2024-10-10 14:40:26 +02:00
parent 8ef077c4db
commit 2ed8ac09fa
Signed by: adoralaura
SSH key fingerprint: SHA256:3XrkbR8ikAZJVtYfaUliX1MhmJYVAe/ocIb/MiDHBJ8

View file

@ -7,10 +7,10 @@ variables:
steps: steps:
build: build:
image: golang:1.22-bookworm image: golang:1.23-bookworm
environment: environment:
- HUGO_VERSION=0.128.2 HUGO_VERSION: 0.135.2
- TZ=Europe/Berlin TZ: Europe/Berlin
commands: commands:
- wget https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_$${HUGO_VERSION}_linux-amd64.deb - wget https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_$${HUGO_VERSION}_linux-amd64.deb
- hugo --minify --destination ./public - hugo --minify --destination ./public