m2.nz/.woodpecker.yml
2022-09-12 16:53:56 +12:00

14 lines
491 B
YAML

pipeline:
build:
image: golang
environment:
- HUGO_VERSION=0.102.3
commands:
- echo "test 1 ${HUGO_VERSION}"
- echo "test 2 $${HUGO_VERSION}"
- echo "test 3 $HUGO_VERSION"
- echo "test 4 $$HUGO_VERSION"
- 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