aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Tremoureux <ronan.tremoureux@ext.uni.lu>2023-06-19 10:22:56 +0200
committerRonan Tremoureux <ronan.tremoureux@ext.uni.lu>2023-06-19 10:22:56 +0200
commitc6c99ab85c485be182a1751e6b5a98a5baa6473a (patch)
treeccb2705795e9e2de2216409b74ccef50c48da537
parent87ee5df0fea1f271d2160fe68b0d6280250bd426 (diff)
parent5f213ff3cb48f5fd3a426642851db28df93c01d5 (diff)
downloadreploy-c6c99ab85c485be182a1751e6b5a98a5baa6473a.tar.gz
reploy-c6c99ab85c485be182a1751e6b5a98a5baa6473a.tar.bz2
Merge branch 'prepareForPolicies' into 'master'
preparing to add folder policies containing md of the policies See merge request R3-core/websites-dev/reploy!1
-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