Make sure:
- web/github/github.php has correct permissions
In github webhooks make sure you add domain
- https://example-drupal.com/github/github.php IMPORTANT note check "https" In Content Type choose application/json
- SSL Verification make sure it is enabled Which events would you like to trigger this webhook?
- Push Check Active
Then a http request will be sent to your github.php (just to make sure it is all fine) you should green mark. Now add changes (any change "space" or comment) Then push it Refresh webhook page in github and should get a new request and response with:
this is supposed to work...Array ( [ref] => refs/heads/master [before] => 1632ee39c0e6152659bc367ffbeede064e5a645b [after] => 3bddd33e0956830845677ec37ebea5b125dd623f [repository] => Array ( [id] => 255094848 [node_id] => MDEwOlJlcG9zaXRvcnkyNTUwOTQ4NDg= [name] => pet-id-backend-cms [full_name] => edutrul/pet-id-backend-cms [private] => 1 [owner] => Array