diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-06-16 11:51:55 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-06-16 11:51:55 +0200 |
commit | 36891802e622229c1ebdfecb0f4d6118eed67120 (patch) | |
tree | f1ed0e52cd2ffd6f35b3de3411b6689907a9f512 | |
parent | be33e0170dbee0888aab1fe1b72b81041cb69849 (diff) | |
download | hakyll-36891802e622229c1ebdfecb0f4d6118eed67120.tar.gz |
Add deploy command to website
-rw-r--r-- | web/hakyll.hs | 8 |
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" + } |