summaryrefslogtreecommitdiff
path: root/.local/bin/lsync
blob: cbafacc390cf8062cba3dcb1bdabd8d753ed340f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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/dox/www/luevano.xyz/.rsyncignore $HOME/dox/www/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/dox/www/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/dox/www/luevano.xyz/art/dst/ luevanor:/var/www/art/