diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-04-27 00:12:15 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-04-27 00:12:15 -0600 |
commit | 745b8648f8f650a0e189554fc4c63e7259656187 (patch) | |
tree | 26d1a4f7312b9ac87be10c4dc318052781fe9e7f /lsync | |
parent | b4ebb8b00356efde02d8323a4b6648b4415fd265 (diff) |
add new scripts and configs for updated pyssg
Diffstat (limited to 'lsync')
-rwxr-xr-x | lsync | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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/ |