This commit is contained in:
parent
e8926568ef
commit
011aca0fa8
11
.drone.yml
11
.drone.yml
@ -25,11 +25,14 @@ steps:
|
|||||||
- apk add --no-cache curl tar
|
- apk add --no-cache curl tar
|
||||||
- echo "Installing hugo"
|
- 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;
|
||||||
- tar -xvf hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz;
|
- mkdir -p hugo_extended
|
||||||
- ls
|
- tar -xvf hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz -C hugo_extended;
|
||||||
- ./hugo version
|
- mv hugo_extended/hugo $BIN_DIR
|
||||||
|
- rm -rf hugo_extended*;
|
||||||
|
- ls /bin
|
||||||
|
- hugo version
|
||||||
- echo "Building configuration"
|
- echo "Building configuration"
|
||||||
- ./hugo
|
- hugo
|
||||||
- ls
|
- ls
|
||||||
environment:
|
environment:
|
||||||
BIN_DIR: /bin
|
BIN_DIR: /bin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user