mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 17:22:41 +01:00
1.4 KiB
1.4 KiB
hipchat
Installing
Add to your deploy.php
require 'contrib/hipchat.php';
Configuration
hipchat_token
– Hipchat V1 auth tokenhipchat_room_id
– Room ID or namehipchat_message
– Deploy message, default is_{{user}}_ deploying
{{branch}}to *{{target}}*
hipchat_from
– Default to targethipchat_color
– Message color, default is greenhipchat_url
– The URL to the message endpoint, default is https://api.hipchat.com/v1/rooms/message
Usage
Since you should only notify Hipchat room of a successful deployment, the hipchat:notify
task should be executed right at the end.
after('deploy', 'hipchat:notify');
- Config
- Tasks
hipchat:notify
— Notifying Hipchat channel of deployment