From 5f213ff3cb48f5fd3a426642851db28df93c01d5 Mon Sep 17 00:00:00 2001 From: "ronan.tremoureux" Date: Mon, 19 Jun 2023 10:21:06 +0200 Subject: [PATCH] preparing to add folder policies containing md of the policies --- Dockerfile | 1 + Types.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 46d30cc..0c074d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,5 @@ WORKDIR /data COPY assets /data/assets/ COPY templates /data/templates/ COPY cards /data/cards/ +COPY policies /data/policies/ ENTRYPOINT ["/root/.cabal/bin/site"] diff --git a/Types.hs b/Types.hs index f4212d8..683061e 100644 --- a/Types.hs +++ b/Types.hs @@ -88,7 +88,7 @@ siteOptions' = do help "Assets directory to be copied verbatim" <> value "assets" <> showDefault _sourceDirs <- - fmap (maybe ["cards"] toList . nonEmpty) . many . strOption $ + fmap (maybe ["cards","policies"] toList . nonEmpty) . many . strOption $ long "source-directory" <> short 's' <> help