Skip to content

Commit 5dde4b5

Browse files
committed
feat: ci.yml
1 parent b5fb5fa commit 5dde4b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
image: mysql:8.0
1616
env:
1717
MYSQL_DATABASE: ${{ secrets.DB_NAME }}
18-
MYSQL_ROOT_PASSWORD: ${{ secrets.DB_PASSWORD }}
18+
# MYSQL_ROOT_PASSWORD: ${{ secrets.DB_PASSWORD }}
1919
MYSQL_ALLOW_EMPTY_PASSWORD: yes
2020
ports:
2121
- 3306:3306
@@ -40,12 +40,12 @@ jobs:
4040
- name: Install MySQL client
4141
run: sudo apt-get update && sudo apt-get install -y mysql-client
4242

43-
- name: wait for MySQL to be ready
43+
- name: Wait for MySQL
4444
run: |
45-
until mysqladmin ping -h "$DB_HOST" -P "$DB_PORT" -u"$DB_USER" -p"$DB_PASSWORD" --silent; do
46-
echo "Waiting for MySQL to be ready..."
45+
until mysqladmin ping -h "$DB_HOST" -P "$DB_PORT" -u"$DB_USER" --silent; do
46+
echo "Waiting for MySQL..."
4747
sleep 5
48-
done
48+
done
4949
5050
- name: Install dependencies
5151
run: |

0 commit comments

Comments
 (0)