Skip to main content

git deploy on simpel.cc

Activate a webhook on github. Go to repos settings:

gh browse -s

On github you do the following:

  • Click Webhooks > Add webhook.

  • Fill in Payload URL with:

    https://simpel.cc/git-deploy/deploy.php?folder=SUBFOLDER
  • Choose Content type to application/json.

  • Fill in Secret. You find the token inside deploy.php on server.

  • Enable SSL verification.

  • Just the push event.

  • Active

  • Add webhook