summaryrefslogtreecommitdiff
path: root/lsync
blob: 7faf0485668db9e3f8a13f22a80bee3ca7d2abff (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/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/