add public html to makefile
Gitea Actions Demo / Deploy (push) Successful in 2m4s
Details
Gitea Actions Demo / Deploy (push) Successful in 2m4s
Details
This commit is contained in:
parent
231b2e975a
commit
5049059cc2
15
makefile
15
makefile
|
@ -13,8 +13,13 @@ SRC_DIR_FLAGS = --source=${SRC_PATH}
|
|||
BUILD_FLAGS = --trace --incremental
|
||||
SERVE_FLAGS = -H 0.0.0.0 -P 33002
|
||||
|
||||
all:
|
||||
sg www-data -c "${JEKYLL_CMD} build ${BUILD_FLAGS} ${SRC_DIR_FLAGS} ${DEST_DIR_FLAGS}"
|
||||
all: build
|
||||
|
||||
deploy: build
|
||||
sg www-data -c "install -dm775 _site ${DEST_PATH}"
|
||||
|
||||
build:
|
||||
${JEKYLL_CMD} build --trace
|
||||
|
||||
# Executa o build toda vez que muda um arquivo
|
||||
# Rodando como serviço do systemd em /etc/systemd/system/alicecast-build-watch.service
|
||||
|
@ -25,5 +30,9 @@ watch:
|
|||
serve:
|
||||
${JEKYLL_CMD} serve ${SRC_DIR_FLAGS} ${SERVE_FLAGS}
|
||||
|
||||
public_html:
|
||||
${JEKYLL_CMD} build {BUILD_FLAGS} --destination=~/public_html/aliceclass -w
|
||||
|
||||
clean:
|
||||
rm -rf ${DEST_PATH}/*
|
||||
rm -rf _site
|
||||
# rm -rf ${DEST_PATH}/*
|
||||
|
|
Loading…
Reference in New Issue