This commit is contained in:
parent
f7cfdf6ebb
commit
1532ce9808
@ -24,9 +24,9 @@ steps:
|
||||
- echo "Dependencies"
|
||||
- apk add --no-cache curl tar
|
||||
- echo "Installing hugo"
|
||||
- curl -LJO https://github.com/gohugoio/hugo/releases/download/v$HUGO_VERSION/hugo_extended_$HUGO_VERSION_Linux-64bit.tar.gz;
|
||||
- curl -LJO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz;
|
||||
- mkdir -p hugo_extended
|
||||
- tar -xvf hugo_extended_$HUGO_VERSION_Linux-64bit.tar.gz -C hugo_extended;
|
||||
- tar -xvf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz -C hugo_extended;
|
||||
- mv hugo_extended/hugo $BIN_DIR
|
||||
- rm -rf hugo_extended*;
|
||||
- hugo version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user