Compare commits

..

No commits in common. "main" and "v0.0.5" have entirely different histories.
main ... v0.0.5

3 changed files with 5 additions and 10 deletions

View File

@ -76,17 +76,12 @@
text = '' text = ''
set -Eeuo pipefail set -Eeuo pipefail
mkdir -p "''${YORE_DBMATE_DIR}" mkdir -p /workspace/db
TMPDIR=$(mktemp -dp "''${YORE_DBMATE_DIR}") cp -r ${./db}/* /workspace/db
mkdir -p "''${TMPDIR}/db" cd /workspace
cp -r ${./db}/* "''${TMPDIR}/db"
cd "''${TMPDIR}"
dbmate up dbmate up
chmod +w -R "''${TMPDIR}"
rm -rf "''${TMPDIR}"
# Replace bash and inherit PID 1 # Replace bash and inherit PID 1
cd /
exec yore exec yore
''; '';
}; };

View File

@ -112,7 +112,7 @@ showpdfRequest (y, m, d) =
NoReqBody NoReqBody
bsResponse bsResponse
( formToQuery ( formToQuery
[ ("cmd" :: Text, "showpdfjs") [ ("cmd" :: Text, "showpdf")
, ("year", y) , ("year", y)
, ("month", m) , ("month", m)
, ("day", d) , ("day", d)

View File

@ -1,7 +1,7 @@
cabal-version: 3.4 cabal-version: 3.4
name: yore name: yore
version: 0.0.9 version: 0.0.5
author: Paul Brinkmeier author: Paul Brinkmeier
maintainer: hallo@pbrinkmeier.de maintainer: hallo@pbrinkmeier.de
copyright: 2023 Paul Brinkmeier copyright: 2023 Paul Brinkmeier