summaryrefslogtreecommitdiff
path: root/lsync
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-04-27 00:12:15 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-04-27 00:12:15 -0600
commit745b8648f8f650a0e189554fc4c63e7259656187 (patch)
tree26d1a4f7312b9ac87be10c4dc318052781fe9e7f /lsync
parentb4ebb8b00356efde02d8323a4b6648b4415fd265 (diff)
add new scripts and configs for updated pyssg
Diffstat (limited to 'lsync')
-rwxr-xr-xlsync14
1 files changed, 14 insertions, 0 deletions
diff --git a/lsync b/lsync
new file mode 100755
index 0000000..7faf048
--- /dev/null
+++ b/lsync
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Push to luevano.xyz
+
+# This pushes everything! (except for blog and art, since it needs a bit more management)
+echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
+rsync -rtuvPL --delete-after --exclude-from=$HOME/luevano.xyz/.rsyncignore $HOME/luevano.xyz/ luevanor:/var/www/
+
+# This pushes the blog.
+echo "rsync: pushing (U) local (lz) to webserver (lzserver). (blog.luevano.xyz)"
+rsync -rtuvPL --delete-after $HOME/luevano.xyz/blog/dst/ luevanor:/var/www/blog/
+
+# This pushes the art.
+echo "rsync: pushing (U) local (lz) to webserver (lzserver). (art.luevano.xyz)"
+rsync -rtuvPL --delete-after $HOME/luevano.xyz/art/dst/ luevanor:/var/www/art/