Skip to content
On this page

Adding repositories

Adding a new project to deploy automatically

Currently, this builder only supports GitHub. Webhook settings can be changed in the Settings section of a repository, by clicking the Webhooks button there. Add a webhook and set the URL of this builder (BUILDER_HOSTNAME in .env) and append /github. Use Content type application/json and at Secret, fill in the value of GIT_HOOK_SECRET in .env. Only send the push events and keep SSL verification enabled. Now add the webhook. It should trigger a ping event on this builder the first time. After that, all commits pushed to one of the supported branches (SUPPORTED_BRANCHES in .env) will be added to the builder Queue.

NOTE: It may be necessary to run sudo service nginx restart manually sometimes, when changing vhost configurations. There are some edge cases where sudo service nginx reload won't do the trick. When you do this, always run sudo nginx -t first to validate the NGINX configurations.