|
|
|
@ -15,6 +15,7 @@ steps:
|
|
|
|
|
commands:
|
|
|
|
|
- apk add make git go curl tar
|
|
|
|
|
- curl https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz -L | tar -xvz
|
|
|
|
|
- chmod +x ./hugo
|
|
|
|
|
- mkdir -p /go/src
|
|
|
|
|
- make build publish
|
|
|
|
|
when:
|
|
|
|
@ -30,6 +31,7 @@ steps:
|
|
|
|
|
commands:
|
|
|
|
|
- apk add make git go curl tar
|
|
|
|
|
- curl https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_Linux-64bit.tar.gz -L | tar -xvz
|
|
|
|
|
- chmod +x ./hugo
|
|
|
|
|
- mkdir -p /go/src
|
|
|
|
|
- make build
|
|
|
|
|
when:
|
|
|
|
|