From fe01006381fd918829aae20db1fe2ca5b34be722 Mon Sep 17 00:00:00 2001 From: Wanwiset Peerapatanapokin Date: Wed, 18 Mar 2026 10:20:40 +0700 Subject: [PATCH] migrate deployment notification to new slack (#2193) --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a56560f30..dee57e479c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,3 +167,19 @@ jobs: - name: Send deployment notification run: | curl --location --request POST "66.94.98.186:8080/deploy?environment=devnet&service=xdc&version=${GITHUB_SHA}" + + curl -X POST -H 'Content-type: application/json' \ + --data '{ + "text": "Deployment notification", + "blocks": [ + { + "type": "header", + "text": {"type": "plain_text", "text": ":rocket:Deployment: devnet"} + }, + { + "type": "section", + "text": {"type": "mrkdwn", "text": "Service: *xdc*\nEnvironment: *devnet*\nVersion: `${GITHUB_SHA}`\nMerged PR: <'"${{ github.event.pull_request.html_url }}"'|#'"${{ github.event.pull_request.number }}"'>"} + } + ] + }' \ + ${{ secrets.SLACK_DEPLOYMENT_WEBHOOK_URL }} \ No newline at end of file