Automatic Deployments
Setting Up Automatic Deployments
Automatic deployments let you deploy your code every time you push to a specific branch.
GitHub Webhook
DeployHQ automatically creates a webhook in your GitHub repository. When you push to your configured branch, GitHub notifies DeployHQ and a deployment is triggered.
GitLab Webhook
Similar to GitHub, DeployHQ sets up a webhook in your GitLab project.
Branch Filtering
You can configure which branches trigger automatic deployments. For example, deploy main to production and develop to staging.
Cooldown Period
To prevent too many deployments in quick succession, you can set a cooldown period between automatic deployments.