Merge branch 'prepareForPolicies' into 'master'
preparing to add folder policies containing md of the policies See merge request R3-core/websites-dev/reploy!1
This commit is contained in:
commit
c6c99ab85c
|
@ -16,4 +16,5 @@ WORKDIR /data
|
||||||
COPY assets /data/assets/
|
COPY assets /data/assets/
|
||||||
COPY templates /data/templates/
|
COPY templates /data/templates/
|
||||||
COPY cards /data/cards/
|
COPY cards /data/cards/
|
||||||
|
COPY policies /data/policies/
|
||||||
ENTRYPOINT ["/root/.cabal/bin/site"]
|
ENTRYPOINT ["/root/.cabal/bin/site"]
|
||||||
|
|
2
Types.hs
2
Types.hs
|
@ -88,7 +88,7 @@ siteOptions' = do
|
||||||
help "Assets directory to be copied verbatim" <>
|
help "Assets directory to be copied verbatim" <>
|
||||||
value "assets" <> showDefault
|
value "assets" <> showDefault
|
||||||
_sourceDirs <-
|
_sourceDirs <-
|
||||||
fmap (maybe ["cards"] toList . nonEmpty) . many . strOption $
|
fmap (maybe ["cards","policies"] toList . nonEmpty) . many . strOption $
|
||||||
long "source-directory" <>
|
long "source-directory" <>
|
||||||
short 's' <>
|
short 's' <>
|
||||||
help
|
help
|
||||||
|
|
Loading…
Reference in a new issue