|
|
|
@ -14,8 +14,6 @@ steps:
|
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
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,10 +28,7 @@ steps:
|
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
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
|
|
|
|
|
- ls -lah
|
|
|
|
|
- make build
|
|
|
|
|
when:
|
|
|
|
|
branch:
|
|
|
|
|