more
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Solomon Laing 2026-01-03 11:36:26 +10:30
parent 25a1ef07ff
commit a34eef0ab1

View File

@ -14,7 +14,7 @@ steps:
steps:
- name: build
image: alpine
image: golang
volumes:
- name: cache
path: /hugo
@ -22,14 +22,12 @@ steps:
- echo "Ititialising"
- mkdir -p $BIN_DIR
- echo "Dependencies"
- apk add --no-cache curl tar file
- echo "Installing hugo"
- curl -LJO https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz;
- mkdir -p hugo_extended
- tar -xvf hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz -C hugo_extended;
- mv hugo_extended/hugo $BIN_DIR
- rm -rf hugo_extended*;
- file /usr/local/bin/hugo
- hugo version
- echo "Building configuration"
- hugo