This commit is contained in:
parent
25a1ef07ff
commit
a34eef0ab1
@ -14,7 +14,7 @@ steps:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: alpine
|
||||
image: golang
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /hugo
|
||||
@ -22,14 +22,12 @@ steps:
|
||||
- echo "Ititialising"
|
||||
- mkdir -p $BIN_DIR
|
||||
- echo "Dependencies"
|
||||
- apk add --no-cache curl tar file
|
||||
- echo "Installing hugo"
|
||||
- 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;
|
||||
- mv hugo_extended/hugo $BIN_DIR
|
||||
- rm -rf hugo_extended*;
|
||||
- file /usr/local/bin/hugo
|
||||
- hugo version
|
||||
- echo "Building configuration"
|
||||
- hugo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user