diff options
Diffstat (limited to '.local/bin/upsite')
-rwxr-xr-x | .local/bin/upsite | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/upsite b/.local/bin/upsite new file mode 100755 index 0000000..fa7649a --- /dev/null +++ b/.local/bin/upsite @@ -0,0 +1,9 @@ +#!/bin/sh + +sitename="chausse.xyz" + +cd "$HOME/Workspace/$sitename" + +hugo + +rsync -auvz "$HOME/Workspace/$sitename/public/" "master@$sitename:/var/www/dev" |