Update/fix build pipeline for hugo.

This commit is contained in:
2020-05-15 01:45:53 +00:00
parent 15fbf7d7a0
commit 4967fadbc1
3 changed files with 8 additions and 12 deletions

View File

@ -1,9 +1,8 @@
DOCKER_IMAGE := cr.annabunch.es/annabunches-static
all: build
.PHONY: all build push
serve:
docker run --rm -it -p 4000:4000 -v $(shell pwd):/srv/jekyll jekyll/jekyll jekyll serve --drafts --future --safe -d /tmp/site --trace
all: build
build:
docker build -t ${DOCKER_IMAGE} .