Open ochaplashkin opened 1 year ago
Now, you need to look either at GitHub CI or log in to the virtual machine to understand which version is installed on the environment.
I suggest adding an additional endpoint "healthcheck", which will give the response:
GET /health
{ "version": "master-b721d19" "status": "ok" }
or, if tag is exist:
{ "version": "1.0.0" "status": "ok" }
Now, you need to look either at GitHub CI or log in to the virtual machine to understand which version is installed on the environment.
I suggest adding an additional endpoint "healthcheck", which will give the response:
GET /health
or, if tag is exist: