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 2888e3e62d
commit c310dad336
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -15,7 +15,6 @@ 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
- mv ./hugo /bin/hugo
- mkdir -p /go/src
- make build publish
when:
@ -31,7 +30,6 @@ 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
- mv ./hugo /bin/hugo
- mkdir -p /go/src
- make build
when:

@ -38,7 +38,7 @@ $(OPENRING_BIN):
@go get -u git.sr.ht/~sircmpwn/openring
./assets/css/syntax.css:
hugo gen chromastyles --style=solarized-dark256 > assets/css/syntax.css
./hugo gen chromastyles --style=solarized-dark256 > assets/css/syntax.css
./layouts/partials/openring.out.html: $(OPENRING_BIN)
$(OPENRING_BIN) \
@ -50,5 +50,5 @@ $(OPENRING_BIN):
> ./layouts/partials/openring.out.html
public: ./assets/css/syntax.css ./layouts/partials/openring.out.html
hugo --minify --gc
./hugo --minify --gc

Loading…
Cancel
Save