Skip to main content

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

  1. Log in to your account and navigate to the project that contains the environment you want to deploy using a deploy hook
  2. Select the environment from the list of environments.
  3. Click on the "Deploy Hooks" tab.
  4. Scroll down to the "Deploy Hooks" section on the page.
  5. Enter a label for the deploy hook.
  6. Click on the "Add deploy hook" button.

Once you have completed these steps, you're given a unique URL for the created deploy hook. To trigger this hook, you need to send a POST request to that URL.

Delete deploy hooks

  1. Log in to your account and navigate to the project that contains the environment you want to remove deploy hooks for.
  2. Select the environment from the list of environments.
  3. Click on the "Deploy Hooks" tab.
  4. Scroll down to the "Deploy Hooks" section on the page.
  5. Click on the "Delete deploy hook" button for the hook you want to delete

That's it! The hook has been removed and can no longer be used to trigger deployments.