From a4265a6a490aecb9348910d16f31d841b18580ed Mon Sep 17 00:00:00 2001 From: odoacre <0d0acre@esiliati.org> Date: Fri, 4 Nov 2022 15:33:36 +0100 Subject: [PATCH] Exclude git --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index df5d8ff..8ad5870 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,7 +3,7 @@ # Create folder ssh hod.emersa.it "mkdir -p chatstream" -tar --exclude='./node_modules' --zstd -cvf - . \ +tar --exclude='./.git' --exclude='./node_modules' --zstd -cvf - . \ | ssh hod.emersa.it tar -C chatstream --zstd -xvf - # ssh -N hod.emersa.it "cd chatstream; pkill -f node; ./start.sh &" \ No newline at end of file