From e5481848a081aafa3bed2c954f5a4c664c6cffe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Wed, 30 Mar 2022 22:37:24 +0200 Subject: [PATCH] Add: two new commands in Makefile - Upload full copy of public/ - Sync public/ directory --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 558e4fd..54e4548 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,9 @@ bash: shell: docker-compose -f docker-compose.yml run build shell + +up: + cp -r src/public/ me:/home/www/oscarmlage.com/www + +sync: + rsync -e ssh --progress --delete -lprtvvzog src/public/ me:/home/www/oscarmlage.com/www/