Update woodpecker.yml

This commit is contained in:
idanoo 2022-09-12 16:53:56 +12:00
parent d2bdd5fd79
commit 2e5bb95bca
Signed by: idanoo
GPG Key ID: 387387CDBC02F132

View File

@ -4,6 +4,11 @@ pipeline:
environment: environment:
- HUGO_VERSION=0.102.3 - HUGO_VERSION=0.102.3
commands: commands:
- wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb - echo "test 1 ${HUGO_VERSION}"
- dpkg -i hugo_extended_${HUGO_VERSION}_Linux-64bit.deb - 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 - hugo