fix(ci): use connection URL with ssl:false in drizzle config

This commit is contained in:
2026-04-26 00:57:38 +02:00
committed by djalim
parent 26eedcc4f2
commit a95818e3bf
2 changed files with 5 additions and 14 deletions
-9
View File
@@ -52,15 +52,6 @@ jobs:
- name: Install dependencies
run: npm install --ignore-scripts && deno install
- name: Debug connection
run: |
echo "--- pg_hba.conf ---"
sudo cat /etc/postgresql/*/main/pg_hba.conf | grep -v "^#" | grep -v "^$"
echo "--- listening ports ---"
sudo ss -tlnp | grep 5432 || echo "nothing on 5432"
echo "--- test connection ---"
PGPASSWORD=test psql -h localhost -U test -d polympr_test -c "SELECT 1" || echo "connection failed"
- name: Apply migrations
env:
POSTGRES_HOST: localhost