Обновить .gitea/workflows/flyway-migrate.yaml
Flyway Migrate and Test / migrate-and-test (push) Failing after 36s
Flyway Migrate and Test / migrate-and-test (push) Failing after 36s
This commit is contained in:
@@ -9,11 +9,14 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Debug secrets (optional, remove after verification)
|
||||
run: |
|
||||
echo "DB_HOST=${{ secrets.DB_HOST }}"
|
||||
echo "DB_PORT=${{ secrets.DB_PORT }}"
|
||||
echo "DB_NAME=${{ secrets.DB_NAME }}"
|
||||
- name: Run Flyway Clean
|
||||
uses: docker://flyway/flyway:latest
|
||||
env:
|
||||
FLYWAY_URL: jdbc:postgresql://${{ secrets.DB_HOST }}:${{ secrets.DB_PORT }}/${{ secrets.DB_NAME }}
|
||||
FLYWAY_USER: ${{ secrets.DB_USER }}
|
||||
FLYWAY_PASSWORD: ${{ secrets.DB_PASSWORD }}
|
||||
with:
|
||||
args: clean -cleanDisabled=false
|
||||
|
||||
- name: Run Flyway Migrate
|
||||
uses: docker://flyway/flyway:latest
|
||||
|
||||
Reference in New Issue
Block a user