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 819b8a1 commit 8e500d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backend_dev_flyway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ 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)
Expand Down

0 comments on commit 8e500d4

Please sign in to comment.