Extract hugo version env var
This commit is contained in:
@@ -14,10 +14,12 @@ triggers:
|
|||||||
- action: email
|
- action: email
|
||||||
condition: failure
|
condition: failure
|
||||||
to: david@davideisinger.com
|
to: david@davideisinger.com
|
||||||
|
environment:
|
||||||
|
HUGO_VERSION: 0.122.0
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
wget --quiet https://github.com/gohugoio/hugo/releases/download/v0.122.0/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_0.122.0_linux-amd64.deb
|
sudo apt install -y ./hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
||||||
sudo gem install bundler
|
sudo gem install bundler
|
||||||
echo 'cd davideisinger.com' >> ~/.buildenv
|
echo 'cd davideisinger.com' >> ~/.buildenv
|
||||||
- spelling: |
|
- spelling: |
|
||||||
|
|||||||
Reference in New Issue
Block a user