add hugo extended
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details

pull/2/head
Adam Veldhousen 3 years ago
parent ecaed27747
commit d8cef8d697
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -7,11 +7,14 @@ steps:
image: docker:dind
environment:
GOPATH: /go/
HUGO_VERSION: 0.59.1
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add make hugo git go
- 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
- mv ./hugo /bin/hugo
- mkdir -p /go/src
- make build publish
when:
@ -23,11 +26,14 @@ steps:
image: docker:dind
environment:
GOPATH: /go/
HUGO_VERSION: 0.59.1
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add make hugo git go
- 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
- mv ./hugo /bin/hugo
- mkdir -p /go/src
- make build
when:

Loading…
Cancel
Save