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
|
||||
- echo "Installing hugo"
|
||||
- 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;
|
||||
- ls
|
||||
- ./hugo version
|
||||
- mkdir -p 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*;
|
||||
- ls /bin
|
||||
- hugo version
|
||||
- echo "Building configuration"
|
||||
- ./hugo
|
||||
- hugo
|
||||
- ls
|
||||
environment:
|
||||
BIN_DIR: /bin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user