diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f098ce5..5490902 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -176,7 +176,7 @@ jobs: scp -i ~/.ssh/deploy_key docker-compose.prod.yml "$DEPLOY_USER@$DEPLOY_HOST:~/goodgo/" scp -i ~/.ssh/deploy_key -r monitoring/ "$DEPLOY_USER@$DEPLOY_HOST:~/goodgo/monitoring/" - ssh -i ~/.ssh/deploy_key "$DEPLOY_USER@$DEPLOY_HOST" << 'DEPLOY_SCRIPT' + ssh -i ~/.ssh/deploy_key "$DEPLOY_USER@$DEPLOY_HOST" << DEPLOY_SCRIPT cd ~/goodgo export IMAGE_TAG="${IMAGE_TAG}" export REGISTRY_URL="${REGISTRY_URL}" @@ -240,7 +240,7 @@ jobs: scp -i ~/.ssh/deploy_key docker-compose.prod.yml "$DEPLOY_USER@$DEPLOY_HOST:~/goodgo/" scp -i ~/.ssh/deploy_key -r monitoring/ "$DEPLOY_USER@$DEPLOY_HOST:~/goodgo/monitoring/" - ssh -i ~/.ssh/deploy_key "$DEPLOY_USER@$DEPLOY_HOST" << 'DEPLOY_SCRIPT' + ssh -i ~/.ssh/deploy_key "$DEPLOY_USER@$DEPLOY_HOST" << DEPLOY_SCRIPT cd ~/goodgo export IMAGE_TAG="${IMAGE_TAG}" export REGISTRY_URL="${REGISTRY_URL}" diff --git a/apps/web/app/api/health/route.ts b/apps/web/app/api/health/route.ts new file mode 100644 index 0000000..4cc596f --- /dev/null +++ b/apps/web/app/api/health/route.ts @@ -0,0 +1,9 @@ +import { NextResponse } from 'next/server'; + +export function GET() { + return NextResponse.json({ + status: 'ok', + service: 'goodgo-web', + timestamp: new Date().toISOString(), + }); +}