#!/bin/sh

sitename="chausse.xyz"

branch="construction"

cd "$HOME/Workspace/$sitename$construction" && git pull origin $branch && git checkout $branch

hugo --gc=true --minify

rsync -auvz "$HOME/Workspace/$sitename$construction/public/" "master@$sitename:/var/www/chausse"