New deploy command
This commit is contained in:
parent
1cf2809b5b
commit
9c4442a047
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -7,13 +7,15 @@ dev:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
make dev
|
make dev
|
||||||
lektor build --output-path ./public -f htmlmin
|
lektor build --prune --output-path ${PWD}/public
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
node_modules/gulp/bin/gulp.js sass:watch
|
node_modules/gulp/bin/gulp.js sass:watch
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
make build
|
make build
|
||||||
|
rm -rf ${PWD}/public/.lektor
|
||||||
|
rsync --progress -avc ${PWD}/public/ ${HOME}/Sites/fmartingr.com/
|
||||||
|
|
||||||
deploy_tests:
|
deploy_tests:
|
||||||
bash tests/run.sh
|
bash tests/run.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue