Skip to content

augustash/pantheon-slack-notice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pantheon Slack Deploy Notice

This module provides a way to setup a Slack notification through a webhook into a set channel upon a successful deploy to the LIVE Pantheon environment.

Module Setup:

Single Line:

composer config scripts.slack-notice "Augustash\\PantheonSlackNotice::postPackageInstall" && composer require augustash/pantheon-slack-notice && composer slack-notice

Manual:

Add the following to root composer.json:

Root level:

"scripts": {
    "slack-notice": "Augustash\\PantheonSlackNotice::postPackageInstall"
}

Run:

composer require augustash/pantheon-slack-notice && composer slack-notice

Note:

  • You will need Pantheon's CLI tool Terminus as well as the Terminus Secrets Plugin to generate the secrets file automatically.
  • You will be asked to provide your Pantheon site name and env.
  • You will need to know your slack webhook URL and slack channel ID to pass to the prompt to generate a secrets file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages