summaryrefslogtreecommitdiff
path: root/.local/bin/lsync
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/lsync')
-rwxr-xr-x.local/bin/lsync6
1 files changed, 5 insertions, 1 deletions
diff --git a/.local/bin/lsync b/.local/bin/lsync
index dc74c0f..136e43e 100755
--- a/.local/bin/lsync
+++ b/.local/bin/lsync
@@ -1,10 +1,14 @@
#!/bin/sh
# Push to luevano.xyz
-# This pushes everything!
+# This pushes everything! (except for blog, since it needs a bit mor management)
echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
rsync -rtuvP --delete-after --exclude-from=$HOME/dox/www/luevano.xyz/.rsyncignore $HOME/dox/www/luevano.xyz/ lzr:/var/www/
+# This pushes the blog.
+echo "rsync: pushing (U) local (lz) to webserver (lzserver). (blog.luevano.xyz)"
+rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/blog/dst/ lzr:/var/www/blog/
+
# Only static.luevano.xyz.
# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/static/ lzr:/var/www/static/