aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorronan.tremoureux <ronan.tremoureux@ext.uni.lu>2023-06-19 10:21:06 +0200
committerronan.tremoureux <ronan.tremoureux@ext.uni.lu>2023-06-19 10:21:06 +0200
commit5f213ff3cb48f5fd3a426642851db28df93c01d5 (patch)
treeccb2705795e9e2de2216409b74ccef50c48da537
parent87ee5df0fea1f271d2160fe68b0d6280250bd426 (diff)
downloadreploy-5f213ff3cb48f5fd3a426642851db28df93c01d5.tar.gz
reploy-5f213ff3cb48f5fd3a426642851db28df93c01d5.tar.bz2
preparing to add folder policies containing md of the policies
-rw-r--r--Dockerfile1
-rw-r--r--Types.hs2
2 files changed, 2 insertions, 1 deletions
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