diff options
Diffstat (limited to 'updatesite.command')
-rwxr-xr-x | updatesite.command | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/updatesite.command b/updatesite.command new file mode 100755 index 0000000..8fe5a3e --- /dev/null +++ b/updatesite.command @@ -0,0 +1,9 @@ +if [ $# -eq 0 ]; then + exit 0 +fi + + +rsync -avzP --rsh=ssh ~/Web/aetherdestroyer root@aetherdestroyer.net:/var/www/ +git add . +git commit -S -m "$1" +git push origin main |