Skip to content

Commit acc23e8

Browse files
committed
Use DB HOST in ping
1 parent fc83f0a commit acc23e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/deploy_gcloud/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ runs:
156156
is_sql_proxy_ready=0
157157
for i in {1..30}; do
158158
echo "Waiting for cloudsql-proxy to be ready $i/30"
159-
if pg_isready --host=/cloudsql/decent-digit-629:europe-west1:db-new --port=5432; then
159+
if pg_isready --host=${DATABASE_HOST} --port=5432; then
160160
echo "cloudsql-proxy is ready"
161161
is_sql_proxy_ready=1
162162
break

0 commit comments

Comments
 (0)