try environment variables again

This commit is contained in:
Adora Laura Kalb 2023-08-08 09:13:53 +02:00
parent 11fbadf93f
commit 07eda08aec
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -7,7 +7,7 @@ steps:
- event: push - event: push
branch: [main, staging] branch: [main, staging]
commands: commands:
- wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_${HUGO_VERSION}_linux-amd64.deb - wget https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_$${HUGO_VERSION}_linux-amd64.deb
- hugo --minify --destination ./public - hugo --minify --destination ./public
deploy-staging: deploy-staging: