From 9ef4ae3ab81e0f2a12b2d19984528e0174e4a673 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 14 Jul 2015 16:12:57 -0300 Subject: Static: deployment --- static.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/static.mdwn b/static.mdwn index 734df0e..105a0ae 100644 --- a/static.mdwn +++ b/static.mdwn @@ -45,6 +45,17 @@ Currently using [Ikiwiki](http://ikiwiki.info) with [Bootstrap](http://twitter.g * [Templates](https://github.com/tgpfeiffer/ikiwiki-bootstrap-template). * [Bootswatch](http://bootswatch.com) themes. +## Deployment + +You can create passwordless SSH keys and use [rrsync](http://www.guyrutenberg.com/2014/01/14/restricting-ssh-access-to-rsync/) ([2](http://wiki.hands.com/howto/passphraseless-ssh/)) to restrict access. Then add an entry into your `~/.ssh/config`: + + Host blog.example.org blog + HostName blog.example.org + User blog + IdentityFile ~/.ssh/blog@blog.example.org + +Now simply run `make web_deploy` with the above mentioned `Makefile` do sync your static site! + ## Ikiwiki references * [Ikiwiki](http://ikiwiki.info). -- cgit v1.2.3