fix: update smoke checks to use port 9090 and direct backend health check2

This commit is contained in:
2026-06-19 15:25:52 +09:00
parent 6c21e4816e
commit fb45c38107

View File

@@ -125,10 +125,8 @@ jobs:
PROD_DEPLOY_PATH: ${{ vars.PROD_DEPLOY_PATH }}
run: |
set -euo pipefail
ssh "${PROD_USER}@${PROD_HOST}" "curl -fsS http://localhost:9090/health"
ssh "${PROD_USER}@${PROD_HOST}" "curl -fsS http://localhost:9090/ > /dev/null"
curl -f http://localhost:9090/ || echo "Nginx is up"
ssh "${PROD_USER}@${PROD_HOST}" "cd '${PROD_DEPLOY_PATH}' && docker compose -f docker-compose.prod.yaml exec -T backend curl -fsS http://localhost:3000/health"
- name: Cleanup generated env file
if: ${{ always() }}
run: rm -f .env.deploy