Skip to content

Commit

Permalink
ci: migration 폴더에 수정 사항이 있어야지만 수행하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 authored Nov 2, 2023
1 parent 8bee7e9 commit 9f88ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend_dev_flyway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: dev flyway 검증

on:
pull_request:
paths:
- 'backend/ddang/src/main/resources/db/migration'
types: [opened, reopened, synchronize]
branches: [develop-be]

Expand Down Expand Up @@ -43,8 +45,6 @@ jobs:
export DATABASE_URL=$(echo "SELECT 'ready';" | mysql -h127.0.0.1 -P3306 -utest -ppassword testdb --skip-column-names 2>/dev/null)
sleep 1
done
echo "$DATABASE_URL"
docker ps
- name: Create flyway.conf
run: |
Expand Down

0 comments on commit 9f88ee6

Please sign in to comment.