add hugo extended
parent
2888e3e62d
commit
c310dad336
|
|
@ -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:
|
||||
|
|
|
|||
4
makefile
4
makefile
|
|
@ -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…
Reference in New Issue