From ce697763c56a613ec36521c76a952efb92add2fc Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 26 Feb 2021 13:40:04 -0700 Subject: Small tweaks --- .local/bin/lsync | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.local/bin/lsync') 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/ -- cgit v1.2.3-70-g09d2