Bump hugo too

This commit is contained in:
Roxedus 2024-02-12 18:02:49 +01:00
parent a963e8f00f
commit da5ab154d2
No known key found for this signature in database
GPG Key ID: EBC13557C4D91D7B
3 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
with:
hugo-version: "0.83.1" # Version taken from https://github.com/cstate/cstate/blob/v4.4/exampleSite/.gitlab-ci.yml#L10
hugo-version: "0.100.2" # Version taken from https://github.com/cstate/cstate/blob/master/exampleSite/.gitlab-ci.yml#L10
extended: true
# Builds the ./public, and minifies CSS/JS

3
.gitignore vendored
View File

@ -1 +1,2 @@
.vscode/
.vscode/
.hugo_build.lock

View File

@ -3,8 +3,8 @@
echo "Starting..."
docker run --rm --name hugo-builder -d -v $(pwd):/cstate -e PUID=$(id -u) -e PGID=$(id -g) -p 1313:1313 ghcr.io/linuxserver/baseimage-alpine-nginx:3.19 >/dev/null
docker exec -it hugo-builder apk add go git >/dev/null
docker exec -it hugo-builder wget https://github.com/gohugoio/hugo/releases/download/v0.83.1/hugo_0.83.1_Linux-64bit.tar.gz >/dev/null
docker exec -it hugo-builder tar xf hugo_0.83.1_Linux-64bit.tar.gz >/dev/null
docker exec -it hugo-builder wget https://github.com/gohugoio/hugo/releases/download/v0.100.2/hugo_0.100.2_Linux-64bit.tar.gz >/dev/null
docker exec -it hugo-builder tar xf hugo_0.100.2_Linux-64bit.tar.gz >/dev/null
docker exec -it -u abc hugo-builder bash -c "cd /cstate && /hugo serve --bind 0.0.0.0"
echo "Stopping..."
docker stop hugo-builder >/dev/null