We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3782c90 + d1b8264 commit fd81e2eCopy full SHA for fd81e2e
stable/slack/README.md
@@ -13,14 +13,20 @@ steps:
13
14
...
15
16
- publish_to_repo:
+ SendToSlack:
17
+ title: Sending message to slack
18
image: codefresh/slack-message-sender
-
19
+ commands:
20
+ - slack-message-sender send
21
+ environment:
22
+ - WEBHOOK_URL=${{SLACK_WEBHOOK_URL}}
23
+ - SLACK_MESSAGE=${{CF_COMMIT_MESSAGE}}
24
25
26
```
27
28
## Environment Variables
29
30
- **required** `WEBHOOK_URL` - Url to the channel. Slack official [docs](https://api.slack.com/incoming-webhooks)
31
+- **required** `SLACK_MESSAGE` - The message that will be sent
32
- `DEBUG` - print verbose output
0 commit comments