summaryrefslogtreecommitdiff
path: root/.local/bin/upsite
blob: aad82be6938be379f273ef2e96dc91d2fcbe0fce (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

sitename="chausse.xyz"

cd "$HOME/Workspace/$sitename"

hugo --gc=true --minify

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