commit d3becc556b8d44fc97e3329cc14bd4b813358569 parent ff647e9ddc812db1f059cd56b0e61a976a612d24 Author: David Eisinger <[email protected]> Date: Fri, 6 Dec 2024 13:08:14 -0500 Extract hugo version env var Diffstat:
| M | .build.yml | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.build.yml b/.build.yml @@ -14,10 +14,12 @@ triggers: - action: email condition: failure to: [email protected] +environment: + HUGO_VERSION: 0.122.0 tasks: - setup: | - wget --quiet https://github.com/gohugoio/hugo/releases/download/v0.122.0/hugo_extended_0.122.0_linux-amd64.deb - sudo apt install -y ./hugo_extended_0.122.0_linux-amd64.deb + wget --quiet https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb + sudo apt install -y ./hugo_extended_${HUGO_VERSION}_linux-amd64.deb sudo gem install bundler echo 'cd davideisinger.com' >> ~/.buildenv - spelling: |