summaryrefslogtreecommitdiff
path: root/.local/bin/upsite
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 17:55:27 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 17:55:27 -0400
commit6312ef191a9ab7466ec72bb3aba7138816062c2f (patch)
treef7b267d110190ecad3f3c28aa3b5e8143936e03c /.local/bin/upsite
parent1b23fd869dc468c8469517761c17d4238a8d104f (diff)
Cleanup useless/unused shell scripts
Diffstat (limited to '.local/bin/upsite')
-rwxr-xr-x.local/bin/upsite9
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"