From 36891802e622229c1ebdfecb0f4d6118eed67120 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 16 Jun 2011 11:51:55 +0200 Subject: Add deploy command to website --- web/hakyll.hs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/hakyll.hs b/web/hakyll.hs index 3ae9d03..6dcb623 100644 --- a/web/hakyll.hs +++ b/web/hakyll.hs @@ -6,7 +6,7 @@ import Data.Monoid (mempty) import Text.Pandoc main :: IO () -main = hakyll $ do +main = hakyllWith config $ do match "css/*" $ do route idRoute compile compressCssCompiler @@ -63,3 +63,9 @@ main = hakyll $ do , "philosophy.markdown" , "reference.markdown" ] + +config :: HakyllConfiguration +config = defaultHakyllConfiguration + { deployCommand = "rsync --checksum -ave 'ssh -p 2222' \ + \_site/* jaspervdj@jaspervdj.be:jaspervdj.be/hakyll" + } -- cgit v1.2.3