fix: update health check response to include versioning
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 2m13s

This commit is contained in:
2026-01-05 18:35:07 -05:00
parent 2ff13691b0
commit a3021a545c
3 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ jobs:
- name: Build e Push
run: |
# Usando o SHA do commit para manter o histórico no Harbor
TAG=${{ gitea.sha }}
docker build -t 172.35.0.216/library/vendaweb-api:$TAG .
docker tag 172.35.0.216/library/vendaweb-api:$TAG 172.35.0.216/library/vendaweb-api:latest

3
.gitignore vendored
View File

@@ -33,3 +33,6 @@ lerna-debug.log*
!.vscode/launch.json
!.vscode/extensions.json
# Environment variables
.env

View File

@@ -14,7 +14,7 @@ export class AppController {
@Get('health')
@ApiOperation({ summary: 'Health check' })
healthCheck() {
return { status: 'ok' };
return { status: 'ok v2' };
}
}