You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/yaml-examples/examples/sending-the-notification-to-slack.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ There are many ways to integrate slack with Codefresh
16
16
17
17
## Custom webhook to Slack
18
18
19
-
Use a container image with a [freestyle step]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) such as `tuttum/curl` to send a notification to a Slack channel.
19
+
Use a container image with a [freestyle step]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) such as `byrnedo/alpine-curl` to send a notification to a Slack channel.
20
20
21
21
{:start="1"}
22
22
1. Get the {% raw %}```${{SLACK_WEB_URL}}```{% endraw %} and put it in the Environment Variables or use [shared configuration]({{site.baseurl}}/docs/configure-ci-cd-pipeline/shared-configuration/)
@@ -31,7 +31,7 @@ You can find how to integrate with slack here [https://api.slack.com/incoming-we
31
31
`slack step`
32
32
{% highlight yaml %}
33
33
slack_notify:
34
-
image: byrnedo/alpine-curl, curlimages/curl, or any other curl image
34
+
image: byrnedo/alpine-curl # curlimages/curl, or any other curl image
35
35
commands:
36
36
- curl -X POST --data-urlencode 'payload={"text":"Test slack integration via yaml"}' {% raw %}${{SLACK_WEB_URL}}{% endraw %}
0 commit comments