Skip to content

Commit

Permalink
Run slack-notify cmd locally in example Supfile
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed Dec 15, 2015
1 parent 71d463a commit 13c4f6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/Supfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,9 @@ commands:

slack-notify:
desc: Notify Slack about new deployment
run: >
local: >
curl -X POST --data-urlencode 'payload={"channel": "#_team_", "text": "['$SUP_NETWORK'] '$(whoami)' deployed '$NAME'"}' \
https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZ
once: true
https://hooks.slack.com/services/X/Y/Z

shell:
desc: Interactive shell on all hosts
Expand All @@ -142,3 +141,4 @@ targets:
- ps
- logs
- health
- slack-notify

0 comments on commit 13c4f6e

Please sign in to comment.