fix: run update.php --update-schema before assertions
Docker Build and Push / build (pull_request) Successful in 1m35s
Docker Build and Push / lint (pull_request) Failing after 13m33s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped

This commit is contained in:
Sagent
2026-06-08 22:11:25 +00:00
parent 074d1ec402
commit 15544e6e9a
+4
View File
@@ -70,6 +70,10 @@ if [ "$READY" = false ]; then
exit 1
fi
echo "Updating TT-RSS database schema..."
docker exec "$CONTAINER_NAME" php /var/www/ttrss/update.php --update-schema 2>&1 || true
sleep 2
# Test 1: HTTP status
STATUS=$(curl -s -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
echo "HTTP status: $STATUS"