danielmochdotcom

Nikola site for www.danielmoch.com
git clone git://git.danielmoch.com/danielmochdotcom.git
Log | Files | Refs

commit 202473869949a1f2a33c22d45882d0f138ea3b76
parent 6d05669aef9ef88beb41df3e8d37681a1883d8e6
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue,  5 Feb 2019 06:45:40 -0500

Change to rsync over SSH; absolute link paths

The latter is necessary to allow error pages to load.

Diffstat:
Mconf.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf.py b/conf.py @@ -569,7 +569,7 @@ # rel_path: a relative URL to the current page/post (default) # full_path: a URL with the full path from the root # absolute: a complete URL (that includes the SITE_URL) -# URL_TYPE = 'rel_path' +URL_TYPE = 'full_path' # Extension for RSS feed files # RSS_EXTENSION = ".xml" @@ -624,7 +624,7 @@ # in a `nikola deploy` command as you like. DEPLOY_COMMANDS = { 'default': [ - "rsync -aP output/* danielmoch.com::dotcom", + "rsync -aP -e ssh output/* root@danielmoch.com:/srv/http/www/dotcom", ] }