mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-22 16:27:39 +01:00
1.6 KiB
1.6 KiB
Hipchat Recipe
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');
Configuration
hipchat_color
'green'
hipchat_from
'{{target}}'
hipchat_message
'_{{user}}_ deploying `{{branch}}` to *{{target}}*'
hipchat_url
'https://api.hipchat.com/v1/rooms/message'
Tasks
hipchat:notify
Notifies Hipchat channel of deployment.