Skip to content

Commit b215513

Browse files
committed
chore: 실행 대기 스크립트 수정
1 parent 6b9cc7d commit b215513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.cd.prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ jobs:
8383
8484
echo "Waiting for PostgreSQL to be ready..."
8585
for i in {1..10}; do
86-
if docker exec log4u_postgres pg_isready -U postgres; then
86+
if docker-compose exec -T postgres pg_isready -U postgres
8787
echo "PostgreSQL is ready!"
8888
break
8989
fi
9090
sleep 1
9191
done
92-
if ! docker exec log4u_postgres pg_isready -U postgres; then
92+
if ! docker-compose exec -T postgres pg_isready -U postgres
9393
echo "PostgreSQL did not start in time!"
9494
exit 1
9595
fi

0 commit comments

Comments
 (0)