From 55dc6d1a220f065435f2b243689761a4970d129c Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 20 Jul 2026 19:44:46 +0330 Subject: [PATCH] fix: resolve yaml indentation error in after_script --- .gitlab-ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db3b370..e38dba3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,9 +24,5 @@ deploy_application: - docker compose -f ./stacks/hello-world/docker-compose.yml up -d after_script: - echo "=== STARTING TELEGRAM NOTIFICATION ===" - - echo "Target Chat ID is: ${TELEGRAM_CHAT_ID}" - - | - curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \ - -d "chat_id=${TELEGRAM_CHAT_ID}" \ - -d "parse_mode=Markdown" \ - -d "text=🚀 *Deployment Succeeded!*%0A*Project:* ${CI_PROJECT_NAME}%0A*Commit:* ${CI_COMMIT_TITLE}" \ No newline at end of file + - echo "Target Chat ID is ${TELEGRAM_CHAT_ID}" + - curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" -d "chat_id=${TELEGRAM_CHAT_ID}" -d "parse_mode=Markdown" -d "text=🚀 *Deployment Succeeded!*%0A*Project:* ${CI_PROJECT_NAME}%0A*Commit:* ${CI_COMMIT_TITLE}" \ No newline at end of file