Deploy your environments using deploy hooks
Deploy hooks allow you to trigger deployments for your environments using a unique URL.
Their behaviour depends on the deployment strategy you've selected for the environment:
- Branch: The latest commit for the selected branch will be deployed
- Tag: The latest tag will be deployed
- Manual: You won't be able to use deploy hooks, since no commit can be automatically selected
Add deploy hooks
- Open the environment you want to deploy using a deploy hook and click on the "Deploy Hooks" tab.
- Enter a label for the deploy hook.
- Click on the "Add deploy hook" button.

The deploy hook gets a unique URL. To trigger it, send a POST request to that URL, as shown in the cURL example below the hook.

Delete deploy hooks
- Open the environment and click on the "Deploy Hooks" tab.
- Click on the "Delete deploy hook" button for the hook you want to delete.
The hook can no longer be used to trigger deployments.