summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/lsync17
-rwxr-xr-x.local/bin/mkblog4
2 files changed, 19 insertions, 2 deletions
diff --git a/.local/bin/lsync b/.local/bin/lsync
index bc0f140..dc74c0f 100755
--- a/.local/bin/lsync
+++ b/.local/bin/lsync
@@ -1,8 +1,21 @@
#!/bin/sh
# Push to luevano.xyz
-echo "rsync: pushing (U) local (lz) to webserver (lzserver)."
-rsync -rtuvP --delete-after $HOME/dox/www/luevano/ lzr:/var/www/luevano/
+# This pushes everything!
+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/ lzr:/var/www/
+
+# Only static.luevano.xyz.
+# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
+# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/static/ lzr:/var/www/static/
+
+# Only luevano.xyz.
+# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
+# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/luevano/ lzr:/var/www/luevano/
+
+# Only gb.luevano.xyz.
+# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
+# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/gb/ lzr:/var/www/gb/
# echo "rsync: pulling (U) webserver (lzserver) to local (lz)."
# rsync -rtuvP lzr:/var/www/luevano/ $HOME/dox/www/luevano
diff --git a/.local/bin/mkblog b/.local/bin/mkblog
new file mode 100755
index 0000000..c364202
--- /dev/null
+++ b/.local/bin/mkblog
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Run ssg to make the blog. (blog.luevano.xyz)
+
+ssg $HOME'/dox/www/luevano.xyz/blog/src' $HOME'/dox/www/luevano.xyz/blog/dst' "Luevano's blog" 'https://blog.luevano.xyz'