mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 06:27:40 +00:00
fix: check docs endpoint instead of status
This commit is contained in:
@@ -65,7 +65,7 @@ jobs:
|
|||||||
# Check if container is running
|
# Check if container is running
|
||||||
if docker ps | grep infisical-api; then
|
if docker ps | grep infisical-api; then
|
||||||
# Try to access the API endpoint
|
# Try to access the API endpoint
|
||||||
if curl -s -f http://localhost:4000/api/status > /dev/null 2>&1; then
|
if curl -s -f http://localhost:4000/api/docs/json > /dev/null 2>&1; then
|
||||||
echo "API endpoint is responding. Container seems healthy."
|
echo "API endpoint is responding. Container seems healthy."
|
||||||
HEALTHY=1
|
HEALTHY=1
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ const sanitizedSlackIntegrationSchema = WorkflowIntegrationsSchema.pick({
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
// test change // //
|
|
||||||
|
|
||||||
export const registerSlackRouter = async (server: FastifyZodProvider) => {
|
export const registerSlackRouter = async (server: FastifyZodProvider) => {
|
||||||
const appCfg = getConfig();
|
const appCfg = getConfig();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user