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 🚀
Go to the Team profile on the top right corner and select the Deployments option from the drop-down list.
A new modal window will appear, requesting you to enter the values in the following fields:
Note: The Post deployment commands feature is available in Professional 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
In this documentation, we will explore the steps to add a new deployment.
Let’s get started 🚀
Go to the Team profile on the top right corner and select the Deployments option from the drop-down list.
A new modal window will appear, requesting you to enter the values in the following fields:
Fields | Description |
---|---|
Repo type | The type of repositories selected from: Public for public repos & Private for private repos |
Repo URL | Add the URL to your repo (for example "https://github.com/yourcompany/yourplugin"). |
Branch | Mention the branch which this deployment points (more on this later). |
Destination Folder | The folder to which your repository content will be downloaded. |
Post Deployment Commands | Shell 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 Professional 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.
Helpful Links
https://github.com/GatoGraphQL/GatoGraphQL/blob/master/.github/workflows/integration_tests.yml
Updated on: 27/12/2024
Thank you!