mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
migrate deployment notification to new slack (#2193)
This commit is contained in:
parent
1e5d6e5d1b
commit
fe01006381
1 changed files with 16 additions and 0 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -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 }}
|
||||
Loading…
Reference in a new issue