search
Redeploy Automatically when Content is Published on CMS
Launch allows you to set up a site to redeploy automatically when its content is modified in the CMS.
This step-by-step guide lets you redeploy automatically when content is published on your Contentstack CMS.
Prerequisites
- Contentstack account
- Access to Launch for your organization
- A site on Launch that fetches data from the CMS
Steps for execution
Follow the steps to redeploy automatically when content is published.
- Create a deploy hook in Launch.
- Follow the steps to add the deploy hook as a Webhook to Contentstack CMS.
- Copy the deploy hook URL.
- Go to your stack and then go to Settings > Webhooks.
- Click the + New Webhook button.
- In the Name field, enter a suitable name for the Webhook.
- In the URL To Notify field, paste the deploy hook URL.
- In the Trigger Conditions field, enter the conditions for the deploy hook to trigger.
- Click the Enable Webhook toggle button.
- Click the Save button.
You will see the conditions updated on the Webhooks page.
- Copy the deploy hook URL.
- Go to the entry where you want to make the update.
- Make the necessary updates, and click the Save button.
- Click the Publish button, select Environment(s) and Language(s), and then click the Send button.
On clicking Publish, the Webhook gets triggered and the project gets automatically redeployed in Launch.
More articles in "Launch How to Guides"
Add API Endpoints to a Website in Launch
Learn morearrow_forward
Deploy a Project from a Monorepo on Launch
Learn morearrow_forward
Disable Automatic Redeployment
Learn morearrow_forward
Host a Static Site on Launch
Learn morearrow_forward
Setup Production and Non-Production Environment
Learn morearrow_forward
Auto-populate Environment Variables from a Linked Stack
Learn morearrow_forward
Repair GitHub Connection for Projects
Learn morearrow_forward
Repair Git Provider Connection for Projects
Learn morearrow_forward
Host any SSR Framework on Launch
Learn morearrow_forward
Trigger Deployments on Launch Platform based on Tags/Releases
Learn morearrow_forward
Caching Guide for Contentstack Launch
Learn morearrow_forward
Handling Next.js RSC Issues on Launch
Learn morearrow_forward
IP-based Access Control Using Edge Functions in Launch
Learn morearrow_forward
Blocking AI Crawlers
Learn morearrow_forward
Can I Run a Docker Container on Launch?
Learn morearrow_forward