Skip to content

athletics/wpvip-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wpvip-slack

Slack WebHooks for WordPress VIP theme commits and deployments. Inspired by Venture Beat’s implementation for HipChat.

Setup

  • Create a new Slack incoming webhook
  • Set accounts in webhook scripts:
    • endpoint - Use Your Unique Webhook URL from the Slack incoming webhook (Example: https://[team].slack.com/services/hooks/incoming-webhook?token=[token])
    • channel - The channel to receive notifications (Example: #general)
  • Upload webhook scripts to a public server
  • Add wpcom-meta.php file to your WordPress VIP theme:
<?php
/**
 * Deploy Webhook: http://example.com/path/to/deploy-webhook.php
 * Commit Webhook: http://example.com/path/to/commit-webhook.php
 */

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages