This package allows you to easily setup a post-receive hook for your Satis on services like Github.
First of all, you need to configure some basic information about where your Satis files are stored.
cp config.yml.dist config.yml
- bin: The location of your bin/satis file. Default:
bin/satis
. - json: The location of your satis.json file. Default:
satis.json
. - webroot: The location of your satis webroot, where packages.json is going to be dumped. Default:
web/
. - user: The location of your bin/satis file. This parameter is optional and default to
null
. - secret: The secret of your webhook
Make your
webhook.php
file accessible, for example:
http://satis.yourcompany.com/webhook.php