diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index d0dd91f..11ea34a 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -3,10 +3,10 @@ import Data.List (sortBy) import Data.Monoid (mappend) import Data.Ord (comparing) - import Hakyll import Hakyll.Core.Item (Item (itemIdentifier)) import System.Process (readProcess) +import qualified System.Process as Process (rawSystem) main :: IO () main = hakyllWith configuration $ do @@ -51,5 +51,6 @@ main = hakyllWith configuration $ do configuration :: Configuration configuration = defaultConfiguration { destinationDirectory = "public" - , inMemoryCache = True + , deploySite = const $ + Process.rawSystem "rsync" [ "-avzh", "public/", "joris@guyonvarch.me:/var/www/cooking.guyonvarch.me" ] } |