on master help sign in
Add deploy command to website
commit36891802e622229c1ebdfecb0f4d6118eed67120 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateThu 16 Jun 2011, 11:51 (15 years ago) parentbe33e01
1 file changed+7−1
web/hakyll.hs+7−1
web/hakyll.hs+7−1
@@ -6,7 +6,7 @@ import Data.Monoid (mempty)
66import Text.Pandoc
77
88main :: IO ()
9−main = hakyll $ do
9+main = hakyllWith config $ do
1010 match "css/*" $ do
1111 route idRoute
1212 compile compressCssCompiler
@@ -63,3 +63,9 @@ main = hakyll $ do
6363 , "philosophy.markdown"
6464 , "reference.markdown"
6565 ]
66+
67+config :: HakyllConfiguration
68+config = defaultHakyllConfiguration
69+ { deployCommand = "rsync --checksum -ave 'ssh -p 2222' \
70+ \_site/* jaspervdj@jaspervdj.be:jaspervdj.be/hakyll"
71+ }