From 13c4f6ef66520c8bcb5c56a4d00d33464fb2d01c Mon Sep 17 00:00:00 2001 From: "Vojtech Vitek (V-Teq)" Date: Tue, 15 Dec 2015 01:59:12 -0500 Subject: [PATCH] Run slack-notify cmd locally in example Supfile --- example/Supfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/Supfile b/example/Supfile index 26f58e0..ca4e2dc 100644 --- a/example/Supfile +++ b/example/Supfile @@ -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 @@ -142,3 +141,4 @@ targets: - ps - logs - health + - slack-notify