Skip to content

Commit

Permalink
ci: $DATABASE_URL 출력 위치 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 authored Nov 2, 2023
1 parent 8e500d4 commit e4e01a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backend_dev_flyway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:

- name: Wait for MySQL to be ready
run: |
echo "$DATABASE_URL"
while [ -z "$DATABASE_URL" ]; do
echo "Waiting for MySQL to be ready..."
export DATABASE_URL=$(echo "SELECT 'ready';" | mysql -h127.0.0.1 -P7777 -utest -ppassword testdb --skip-column-names 2>/dev/null)
sleep 1
done
echo "$DATABASE_URL"
- name: Shut down Docker Compose
run: docker-compose -f .github/docker-compose.yml down
Expand Down

0 comments on commit e4e01a6

Please sign in to comment.