Articles on: Deployments

Add Deployment

Deployments are requests to deploy a certain ref (branch, SHA, tag). When new deployments are generated, Git providers send out a deployment event that external services can listen for and act on. InstaWP allows you to connect your existing Git repos (from any Git provider such as Github, Gitlab, Bitbucket, etc) to your account.

In this documentation, we will explore the steps to add a new deployment.

Let’s get started πŸš€


Step 1: Go to Settings and select the Deployments option from the drop-down list. Now, click Add New from the top right corner of the screen.



Step 2: A new modal window will appear, requesting you to enter the values in the following fields:

FieldsDescription
Repo typeThe type of repositories selected from: Public for public repos & Private for private repos
Repo URLAdd the URL to your repo (for example, "https://github.com/yourcompany/yourplugin").
BranchMention the branch that this deployment points to (more on this later).
Destination FolderThe folder to which your repository content will be downloaded.
Post Deployment CommandsShell commands will be run after the git repository is cloned (for example, composer install, npm install, npm run dev, wp-config set WP_DEBUG true --raw).


πŸ‘‰ Note: The post-deployment commands feature is available in the Professional Yearly plan and above. View Pricing here. If you are not logged in, use this link to view pricing.


Now, fill out the options with the values and click Add. It'll be added immediately.




πŸ’‘ Did you know - You can select the repository to deploy when the site is created from the template. Learn about connect deployment to an existing site.



https://github.com/GatoGraphQL/GatoGraphQL/blob/master/.github/workflows/integration_tests.yml

Updated on: 09/04/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!