update makefile for deploy

This commit is contained in:
Carneiro 2024-08-05 21:36:36 -03:00
parent e05c833784
commit 6db98e3010
2 changed files with 4 additions and 3 deletions

View File

@ -59,7 +59,7 @@ page_gen:
dir: aulas
index_files: false
name: title
debug: true
debug: false
# collection default setup
defaults:

View File

@ -15,8 +15,9 @@ SERVE_FLAGS = -H 0.0.0.0 -P 33002
all: build
deploy: build
sg www-data -c "cp -RTv _site ${DEST_PATH}"
deploy:
# sg www-data -c "cp -RTv _site ${DEST_PATH}"
sg www-data -c "${JEKYLL_CMD} build ${$BUILD_FLAGS} ${DEST_DIR_FLAGS}"
build:
${JEKYLL_CMD} build --trace