1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 01:09:35 +05:30

(CI/CD): test database connection

This commit is contained in:
2023-12-03 19:02:54 +05:30
parent d27c273997
commit c54062e2d9

View File

@@ -1,7 +1,7 @@
on:
push:
branches:
- main
- main
name: 🚀 Deploy website on server
jobs:
web-deploy:
@@ -11,6 +11,9 @@ jobs:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: 📦 Update Database
run: mysql -h ${{ secrets.DB_HOST }} --port 3306 -u${{ secrets.DB_USERNAME }} -p${{ secrets.DB_PASSWORD }} -e "SHOW DATABASES"
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with: