개선: 배포 검증과 관리자 UX 안정화
TaxBaik Browser E2E / browser-e2e (push) Failing after 1m3s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m46s

This commit is contained in:
2026-06-27 20:57:09 +09:00
parent 64b08831e8
commit f29f2c3cff
51 changed files with 948 additions and 199 deletions
+10 -9
View File
@@ -62,7 +62,7 @@ sudo systemctl reload nginx
2. 배포 워크플로우는 자동으로 실행:
```
master 브랜치 push → build → publish → restart
master 브랜치 push → build → test → publish → restart → health check → Playwright
```
수동 배포는 비상 롤백 외에는 사용하지 않습니다. 배포 이슈는 Gitea Actions 로그로 해결합니다.
@@ -96,14 +96,15 @@ curl -X POST http://178.104.200.7/taxbaik/api/auth/login \
-H "Content-Type: application/json" \
-d "{\"username\":\"admin\",\"password\":\"<TAXBAIK_ADMIN_TEST_PASSWORD>\"}"
# 문의 폼 제출 테스트
curl -X POST http://178.104.200.7/taxbaik/contact \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "name=테스트&phone=010-1234-5678&service_type=사업자세무&message=테스트"
# Playwright 브라우저 검증
npm run test:e2e
# DB에서 확인
ssh kjh2064@178.104.200.7
psql -U taxbaik -d taxbaikdb -c "SELECT * FROM inquiries ORDER BY created_at DESC LIMIT 1;"
# 필요한 경우 개별 테스트 실행
npx playwright test tests/e2e/admin-login.spec.ts
npx playwright test tests/e2e/admin-smoke.spec.ts
npx playwright test tests/e2e/public-smoke.spec.ts
npx playwright test tests/e2e/blog-seo.spec.ts
npx playwright test tests/e2e/contact-submit.spec.ts
```
### 블로그 포스트 확인
@@ -112,7 +113,7 @@ psql -U taxbaik -d taxbaikdb -c "SELECT * FROM inquiries ORDER BY created_at DES
# 초기 5개 포스트 확인
curl http://178.104.200.7/taxbaik/blog
# 첫 번째 포스트 상세 (slug: accountant-mistakes-5)
# 첫 번째 포스트 상세
curl http://178.104.200.7/taxbaik/blog/accountant-mistakes-5
```