From 84c2371f3cd489a43f0e3f461e40f2c93f43072f Mon Sep 17 00:00:00 2001 From: Josepablo C Date: Mon, 8 Sep 2025 20:41:00 -0600 Subject: [PATCH] feat: Adding dokploy webhook --- v1/scripts/ci_functions.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v1/scripts/ci_functions.sh b/v1/scripts/ci_functions.sh index 8b649bb..d550b68 100644 --- a/v1/scripts/ci_functions.sh +++ b/v1/scripts/ci_functions.sh @@ -34,13 +34,15 @@ function upload_image(){ } function deploy_prod(){ + #Global ENV VAR: CICD_API_PROD_WEBHOOK set -x - echo "Not yet defined" + curl -X POST "${CICD_API_PROD_WEBHOOK}" set +x } function deploy_dev(){ + #Global ENV VAR: CICD_API_DEV_WEBHOOK set -x - echo "Not yet defined" + curl -X POST "${CICD_API_DEV_WEBHOOK}" set +x }