m2.nz/.woodpecker.yml
2022-09-12 16:55:26 +12:00

10 lines
350 B
YAML

pipeline:
build:
image: golang
environment:
- HUGO_VERSION=0.102.3
commands:
- export CUR_TIME=$(date '+%Y-%m-%d_%H%M')
- wget https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_Linux-64bit.deb
- dpkg -i hugo_extended_$${HUGO_VERSION}_Linux-64bit.deb
- hugo