Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 835 Bytes

hipchat.md

File metadata and controls

36 lines (24 loc) · 835 Bytes

Hipchat recipe

Installing

Install with composer

composer require deployer/recipes --dev

Add to your deploy.php

require 'recipe/hipchat.php';

Configuration

  • hipchat_token – Hipchat V1 auth token
  • hipchat_room_id – Room ID or name
  • hipchat_message – Deploy message, default is _{{user}}_ deploying {{branch}} to *{{target}}*
  • hipchat_from – Default to target
  • hipchat_color – Message color, default is green
  • hipchat_url – The URL to the message endpoint, default is https://api.hipchat.com/v1/rooms/message

Tasks

  • hipchat:notify – send message to hipchat

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');