Introducing deployment hooks
GitPeeks now supports deployment hooks, allowing you to run custom logic at different stages of the deployment process—perfect for setup, cleanup, or notifications.
🚀 What’s new?
You can now define hooks for your preview developments. These hooks let you automatically run custom scripts or logic during deployments—for example, loading test data or sending notifications.
🤔 Why did we make this change?
Teams often need to perform specific actions around deployments, and doing that manually adds friction and risk. With deployment hooks, you can automate those tasks, ensuring your environments are consistent and deployment-ready every time.
🛠️ How it works
Hooks can be configured per repository. Once set up, GitPeeks will execute the defined hooks automatically during the deployment process. Read the docs for more information.