Update makefile

This commit is contained in:
Carneiro 2024-08-21 16:22:41 -03:00
parent 002c32c691
commit 1b2e9bd0a8
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ SERVE_FLAGS = -H 0.0.0.0 -P 33002
all:
sg www-data -c "${JEKYLL_CMD} build ${BUILD_FLAGS} ${DEST_DIR_FLAGS}"
deploy:
${JEKYLL_CMD} build ${BUILD_FLAGS} ${DEST_DIR_FLAGS}
# Executa o build toda vez que muda um arquivo
# Rodando como serviço do systemd em /etc/systemd/system/alice-build-watch.service
# examplo: sg www-data -c 'make watch'