Skip to content

Commit 5a073cc

Browse files
committed
마이그레이션 실행 전 파일 체크
1 parent 4186a6c commit 5a073cc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cicd_test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ jobs:
6262
chmod 600 .env
6363
6464
npm ci --only=production
65+
66+
echo "--- 현재 위치 확인 ---"
67+
pwd
68+
69+
echo "--- 마이그레이션 파일 존재 확인 ---"
70+
ls -l dist/src/migrations || echo "파일 없음!"
71+
72+
echo "--- 마이그레이션 실행 ---"
6573
npx typeorm migration:run -d ./dist/typeorm.datasource.js
6674
6775
pm2 startOrReload ecosystem.config.js --env production

0 commit comments

Comments
 (0)