diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b77fee9..3ba6f64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,12 +11,8 @@ jobs: steps: - name: 🚚 Get latest code uses: actions/checkout@v3 - - - name: Debug Event Payload - run: echo "${{ toJson(github.event) }}" - name: 📦 Update Database - if: github.event_name == 'push' && github.event_path == 'neosubhamoy.sql' run: | mysql -h ${{ secrets.DB_HOST }} --port 3306 -u${{ secrets.DB_USERNAME }} -p${{ secrets.DB_PASSWORD }} -D${{ secrets.DB_NAME }} -e "source drop_script.sql" mysql -h ${{ secrets.DB_HOST }} --port 3306 -u${{ secrets.DB_USERNAME }} -p${{ secrets.DB_PASSWORD }} -D${{ secrets.DB_NAME }} -e "source neosubhamoy.sql"