Simple ipfs pinning deployment

This commit is contained in:
Mats Rauhala 2018-09-20 23:15:22 +03:00
parent c348b2c834
commit f355516c1d

View File

@ -8,7 +8,7 @@ import Data.Time (formatTime, defaultTimeLocale)
--------------------------------------------------------------------------------
main :: IO ()
main = hakyll $ do
main = hakyllWith defaultConfiguration{ deployCommand = "ipfs add -Q -r _site" } $do
match "images/*" $ do
route idRoute
compile copyFileCompiler