Articles on: Deployments

Connect to Template

After you have completed adding a deployment, you can connect it to an existing template. So, every time you have a new change in your Git branch you can create a new site off of the template and we will automatically pull the latest changes to your Git repo onto the new site.

In this documentation, we will explore the steps to connect a Git repository to a template.

Let’s get started 🚀

Step 1: Sign In to your InstaWP account to access the dashboard.

Step 2: Click on the Templates button from the top navigation bar.

You will be taken to the templates page.

Step 3: Click on the Deployment icon corresponding to the template for which you want to enable deployment.

Note: Git deployment can be connected to private templates only.

A new modal window will appear, asking you to select the repository you want to deploy when the site is created from the template.

Step 4: After selecting the repository according to your preference, click on the Deploy button to deploy the Git repository automatically.

Note : You can also manually copy the webhook by clicking on the “Copy” button and paste it into your Github, Gitlab or Bitbucket repository.

Then, you will see a success message on your screen.

Step 5: Click on the Update button to update the repository list to an existing template on every push.

Then, you will see a success message on your screen.

Create Template
Edit Template

Updated on: 20/09/2023

Was this article helpful?

Share your feedback


Thank you!