diff --git a/.github/actions/deploy_gcloud/action.yml b/.github/actions/deploy_gcloud/action.yml index 746996b..98f1e65 100644 --- a/.github/actions/deploy_gcloud/action.yml +++ b/.github/actions/deploy_gcloud/action.yml @@ -155,6 +155,9 @@ runs: # Check PSQL status sudo systemctl status postgresql + + # Check PSQL port + sudo netstat -nl | grep postgres # Start Cloud SQL Proxy and migrate /tmp/cloud_sql_proxy -dir=/cloudsql & diff --git a/django_site/settings.py b/django_site/settings.py index b0cb304..8c636cb 100644 --- a/django_site/settings.py +++ b/django_site/settings.py @@ -173,7 +173,6 @@ "NAME": os.getenv("PSQL_DATABASE_NAME"), "USER": "postgres", "PASSWORD": os.getenv("PSQL_DATABASE_PASSWORD"), - "SSLMODE": "require", "ATOMIC_REQUESTS": True, } }