PHP code example of baachi / deployer-rocketchat-recipe

1. Go to this page and download the library: Download baachi/deployer-rocketchat-recipe library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

baachi / deployer-rocketchat-recipe example snippets




before('deploy', 'rocketchat:notify');

after('success', 'rocketchat:notify:success');

after('deploy:failed', 'rocketchat:notify:failure');

   set('rocketchat_webook', 'https://rocketchat.yourcompany.com/hooks/XXXXX');