From 6db98e3010dce0cd1e3c5684d6d901698776881c Mon Sep 17 00:00:00 2001 From: Gabriel Carneiro Date: Mon, 5 Aug 2024 21:36:36 -0300 Subject: [PATCH] update makefile for deploy --- _config.yml | 2 +- makefile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 9b5e760..79e4cae 100755 --- a/_config.yml +++ b/_config.yml @@ -59,7 +59,7 @@ page_gen: dir: aulas index_files: false name: title - debug: true + debug: false # collection default setup defaults: diff --git a/makefile b/makefile index 1cf9ce8..71f45cb 100755 --- a/makefile +++ b/makefile @@ -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