From ed5ac0e61f660dca6881fea5074d8478975a44c4 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 7 Dec 2023 18:58:05 -0500 Subject: Final commit before leaving work cpu --- .local/bin/upsite | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/upsite b/.local/bin/upsite index aad82be..c6ef404 100755 --- a/.local/bin/upsite +++ b/.local/bin/upsite @@ -2,8 +2,10 @@ sitename="chausse.xyz" -cd "$HOME/Workspace/$sitename" +branch="construction" + +cd "$HOME/Workspace/$sitename$construction" && git pull origin $branch && git checkout $branch hugo --gc=true --minify -rsync -auvz "$HOME/Workspace/$sitename/public/" "master@$sitename:/var/www/dev" +rsync -auvz "$HOME/Workspace/$sitename$construction/public/" "master@$sitename:/var/www/chausse" -- cgit v1.2.3