dev-master
9999999-devGitLab.com & Github WebHooks system with PHP and YAML.
MIT
The Requires
GitLab.com & Github WebHooks system with PHP and YAML.
Gitlab.com & GitHub WebHooks system with PHP and YAML., (*1)
Created by Florian Beer. Forked from Maxime Valette's webhooks., (*2)
git clone git@github.com:florianbeer/webhooks
composer install
config.php.dist
file to config.php
and customize itweb/
All set! You just have to add a custom WebHook in the Service Hooks of your Gitlab.com or GitHub repositories, pointing to web/hooks.php
., (*3)
The whole point of this script is that you can add custom hooks file specific to GitHub repositories., (*4)
It's a simple YAML file that looks like this:, (*5)
emails: - john@acmewebsite.com master: - /usr/local/bin/composer install - php artisan migrate --env=production
So you can easily add or remove commands executed after every push., (*6)
GitLab.com & Github WebHooks system with PHP and YAML.
MIT