diff --git a/slack_notification/README.md b/slack_notification/README.md index e3ce30f..aef9b35 100644 --- a/slack_notification/README.md +++ b/slack_notification/README.md @@ -10,8 +10,8 @@ This script shows how easy it is to integrate Slack notifications from your Pant ```shell $> echo '{"slack_url": "https://hooks.slack.com/services/MY/SECRET/URL"}' > secrets.json # Note, you'll need to copy the secrets into each environment where you want to trigger Slack notifications. - $> `terminus site connection-info --env=dev --site=your-site --field=sftp_command` - Connected to appserver.dev.d1ef01f8-364c-4b91-a8e4-f2a46f14237e.drush.in. + $> `terminus connection:info --field=sftp_command your-site.env` + Connected to appserver.env.d1ef01f8-364c-4b91-a8e4-f2a46f14237e.drush.in. sftp> cd files sftp> mkdir private sftp> cd private @@ -19,7 +19,7 @@ This script shows how easy it is to integrate Slack notifications from your Pant sftp> quit ``` -3. Add, and update as needed, the example `slack_notification.php` script to the `private` directory in the root of your site's codebase, that is under version control. Note this is a different `private` directory than where the secrets.json is stored. +3. Add, and update as needed, the example `slack_notification.php` script to the `private/scripts` directory in the root of your site's codebase, that is under version control. Note this is a different `private` directory than where the secrets.json is stored. 4. Add Quicksilver operations to your `pantheon.yml` 5. Test a deploy out!