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