summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/hakyll.hs8
1 files changed, 7 insertions, 1 deletions
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"
+ }