Simple ipfs pinning deployment
This commit is contained in:
parent
c348b2c834
commit
f355516c1d
2
site.hs
2
site.hs
@ -8,7 +8,7 @@ import Data.Time (formatTime, defaultTimeLocale)
|
|||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = hakyll $ do
|
main = hakyllWith defaultConfiguration{ deployCommand = "ipfs add -Q -r _site" } $do
|
||||||
match "images/*" $ do
|
match "images/*" $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile copyFileCompiler
|
compile copyFileCompiler
|
||||||
|
Loading…
Reference in New Issue
Block a user