annabunches.net/Makefile

17 lines
361 B
Makefile
Raw Normal View History

DOCKER_IMAGE := cr.annabunch.es/annabunches-static
DOCKER_TAG := latest
2020-05-15 01:45:53 +00:00
.PHONY: all build push
2020-05-15 21:15:51 +00:00
all: serve
serve:
hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/
build:
# TODO: figure out why this always uses the cache on the last step...
docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
push:
docker push ${DOCKER_IMAGE}:${DOCKER_TAG}