Posts wercker build/deploy status to a Slack Channel.
webhook_url
- Your Slack webhook URL.
Options
channel
- The Slack channel to override the default channel. (without #).username
- The name of your bot. (defaultWercker
)branches
- Specific branches to notify. (regular expression)notify_on
- Allows you to specify to notify onpassed
orfailed
. (default all allows notify)
posts build notification
build:
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
posts deploy notification
deploy:
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
override channel and/or username
build:
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
channel: dev
username: cibot
notify on specific branches only
build:
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
branches: ^master$
notify on specific failed only
build:
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
notify_on: "failed"
See CHANGELOG