From e15c96ffc846a0721d8b9e14d49eb04a1a0fcebd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 18 Jun 2015 16:10:56 -0300 Subject: Static deployment suppport --- Makefile | 3 +++ ikiwiki.setup | 3 +++ todo.mdwn | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bf579e4..9c516b2 100644 --- a/Makefile +++ b/Makefile @@ -16,3 +16,6 @@ wiki: @ikiwiki . --rebuild www + +deploy: + @rsync -avz --delete www/ blog:/var/sites/rhatto/site/ diff --git a/ikiwiki.setup b/ikiwiki.setup index f9ff9d3..aba3e51 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -207,4 +207,7 @@ use IkiWiki::Setup::Standard { # See https://ikiwiki.info/plugins/po/ #po_master_language => 'en|English', #po_slave_languages => [ 'pt|Portuguese' ], + + # See http://ikiwiki.info/plugins/rsync/ + #rsync_command => 'rsync -qa --delete . user@host:/path/to/docroot/', } diff --git a/todo.mdwn b/todo.mdwn index dfe909a..ea90d85 100644 --- a/todo.mdwn +++ b/todo.mdwn @@ -1,5 +1,4 @@ [[!meta title="TODO"]] * Signed tags / howto verify. -* Locally generated static site with [rsync](http://ikiwiki.info/plugins/rsync/) support. * [IndieWebCamp](http://indiewebcamp.com/) agenda. -- cgit v1.2.3