Commit 04da77a4 authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

add local rsync function to makefile

parent 58fcfa03
......@@ -18,3 +18,12 @@ deploy:
@ssh $(deploy_user)@$(deploy_host) mkdir -p "$(deploy_path)"
@rsync -av -e ssh *.php *.json *.html js css php gfx node_modules $(deploy_user)@$(deploy_host):$(deploy_path)
@ssh $(deploy_user)@$(deploy_host) chown -R $(web_user):$(web_group) "$(deploy_path)"
build: install
@mkdir -p build
@rsync -av *.php *.json *.html js css php gfx node_modules config build
build-archive: build
@cp -r build raumbuchung
@tar czpf build.tar.gz raumbuchung
@rm -rf raumbuchung
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment