From debe5453ed57cd158e58129a4c9dd16fdcc7f7c3 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Mon, 19 Jun 2023 10:52:00 +0200 Subject: [PATCH] Revert "preparing to add folder policies containing md of the policies" This reverts commit 5f213ff3cb48f5fd3a426642851db28df93c01d5. (This belongs elsewhere) --- Dockerfile | 1 - Types.hs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c074d9..46d30cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,4 @@ 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 683061e..f4212d8 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","policies"] toList . nonEmpty) . many . strOption $ + fmap (maybe ["cards"] toList . nonEmpty) . many . strOption $ long "source-directory" <> short 's' <> help