Skip to content

Commit ed0b165

Browse files
authored
fix(cd): specify webhook-type parameter on the Slack Action
1 parent 84ff7ad commit ed0b165

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/notificate-deployments.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
- name: Send Slack Notification
1515
if: success()
1616
uses: slackapi/[email protected]
17+
env:
18+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEPLOYMENTS_NOTIFICATIONS_WEBHOOK_URL }}
1719
with:
18-
webhook: ${{ secrets.SLACK_DEPLOYMENTS_NOTIFICATIONS_WEBHOOK_URL }}
19-
channel-id: ${{ secrets.SLACK_DEPLOYMENTS_NOTIFICATIONS_CHANNEL }}
20+
webhook-type: incoming-webhook
2021
payload: |
2122
{
2223
"text": "Deployment completed",

0 commit comments

Comments
 (0)