update makefile for deploy
This commit is contained in:
parent
e05c833784
commit
6db98e3010
|
@ -59,7 +59,7 @@ page_gen:
|
||||||
dir: aulas
|
dir: aulas
|
||||||
index_files: false
|
index_files: false
|
||||||
name: title
|
name: title
|
||||||
debug: true
|
debug: false
|
||||||
|
|
||||||
# collection default setup
|
# collection default setup
|
||||||
defaults:
|
defaults:
|
||||||
|
|
5
makefile
5
makefile
|
@ -15,8 +15,9 @@ SERVE_FLAGS = -H 0.0.0.0 -P 33002
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
deploy: build
|
deploy:
|
||||||
sg www-data -c "cp -RTv _site ${DEST_PATH}"
|
# sg www-data -c "cp -RTv _site ${DEST_PATH}"
|
||||||
|
sg www-data -c "${JEKYLL_CMD} build ${$BUILD_FLAGS} ${DEST_DIR_FLAGS}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
${JEKYLL_CMD} build --trace
|
${JEKYLL_CMD} build --trace
|
||||||
|
|
Loading…
Reference in New Issue