]> git.llucax.com Git - personal/website.git/commitdiff
Fix host name for make sync
authorLeandro Lucarella <luca@llucax.com>
Thu, 19 Apr 2018 21:29:38 +0000 (23:29 +0200)
committerLeandro Lucarella <luca@llucax.com>
Thu, 19 Apr 2018 21:29:38 +0000 (23:29 +0200)
Makefile

index 869dae11635741d5df72ea8f595b953174f2bb20..7f8307ab2a67260e7d214a0932908948bfdd7de2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,18 +35,18 @@ sync: download upload
 download:
        # Get new posts
        rsync -Pa --ignore-existing \
 download:
        # Get new posts
        rsync -Pa --ignore-existing \
-               alerce:/srv/llucax/www/blog/posts/ \
+               llucax.com:/srv/llucax/www/blog/posts/ \
                source/blog/posts
        # Get new comments
        rsync -Pa --ignore-existing \
                source/blog/posts
        # Get new comments
        rsync -Pa --ignore-existing \
-               alerce:/srv/llucax/www/blog/comments/ \
+               llucax.com:/srv/llucax/www/blog/comments/ \
                source/blog/comments
        # Get modified dbs
        cp source/blog/posts/db /tmp/blog.db.tmp
        rsync -Pa --update --include '*/db' \
                --exclude posts/current --exclude 'posts/*/*' --exclude 'comments/*/*' \
                source/blog/comments
        # Get modified dbs
        cp source/blog/posts/db /tmp/blog.db.tmp
        rsync -Pa --update --include '*/db' \
                --exclude posts/current --exclude 'posts/*/*' --exclude 'comments/*/*' \
-               alerce:/srv/llucax/www/blog/comments \
-               alerce:/srv/llucax/www/blog/posts \
+               llucax.com:/srv/llucax/www/blog/comments \
+               llucax.com:/srv/llucax/www/blog/posts \
                source/blog/
        diff /tmp/blog.db.tmp source/blog/posts/db | grep '^-' && ( \
                echo "Conflict between posts DBs" && false ) || true
                source/blog/
        diff /tmp/blog.db.tmp source/blog/posts/db | grep '^-' && ( \
                echo "Conflict between posts DBs" && false ) || true
@@ -55,7 +55,7 @@ download:
 
 upload:
        rsync -Pa --delete source/blog/ build/html/blog
 
 upload:
        rsync -Pa --delete source/blog/ build/html/blog
-       rsync -Pa --exclude=\*.swp --exclude=\*.pyc build/html/ alerce:/srv/llucax/www
+       rsync -Pa --exclude=\*.swp --exclude=\*.pyc build/html/ llucax.com:/srv/llucax/www
 
 html:
        $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html
 
 html:
        $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html