preparing to add folder policies containing md of the policies

This commit is contained in:
ronan.tremoureux 2023-06-19 10:21:06 +02:00
parent 87ee5df0fe
commit 5f213ff3cb
2 changed files with 2 additions and 1 deletions

View file

@ -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"]

View file

@ -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