summaryrefslogtreecommitdiff
path: root/.local/bin/lsync
blob: d414703e68fa48a4e51295eba2bd170a5c0c6ffe (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Push to luevano.xyz

# This pushes everything! (except for blog, since it needs a bit more 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/ luevanor:/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/ luevanor:/var/www/blog/