annabunches.net/Makefile
2023-08-30 16:27:02 +00:00

17 lines
364 B
Makefile

DOCKER_IMAGE := cr.annabunches.net/annabunches-static
DOCKER_TAG := latest
.PHONY: all build push
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}