From 640726ee9c9c3b0a38508d2d47a4a09658bff4c0 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 17 Feb 2020 23:51:14 +0100 Subject: [PATCH] improvements in the deploy script logic --- deploy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy b/deploy index 11bc87b..a39692a 100755 --- a/deploy +++ b/deploy @@ -4,6 +4,8 @@ USER=dotyaoverlord HOST=dotya.ml DIR=public/ -hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} +git subvolume init +git subvolume update +hugo --gc=true && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} exit 0