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 🚀



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 which this deployment points (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 Personal Yearly plan and above. View Pricing here. If you are not logged in, use this link to view pricing.



💡 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: 15/05/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!