From 745b8648f8f650a0e189554fc4c63e7259656187 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 27 Apr 2022 00:12:15 -0600 Subject: add new scripts and configs for updated pyssg --- lsync | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 lsync (limited to 'lsync') 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/ -- cgit v1.2.3-70-g09d2