fix(release): include local PDF fixtures in both full gates

This commit is contained in:
Hermes
2026-11-26 18:19:30 +10:00
parent d6f66656e0
commit bca532350c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -28,6 +28,10 @@ env_before=$(sha256sum "$prod/.env" | cut -d' ' -f1)
# Fresh full gate for this exact main push; the dev approval can be days old.
cp "$prod/$index" "$checkout/$index"
sqlite3 "$prod/smeta-web.db" ".backup $checkout/smeta-web.db"
mkdir -p "$checkout/tests/fixtures/tsn_local"
for pdf in tsn3-1.pdf index222.pdf; do
cp "$prod/tests/fixtures/tsn_local/$pdf" "$checkout/tests/fixtures/tsn_local/$pdf"
done
APP_DIR="$checkout" COPY_DIR=/home/mcp-user/smeta-prod-auto-predeploy \
bash "$checkout/scripts/predeploy-tests.sh" > "$log" 2>&1 || {
tail -30 "$log" >&2