Add Deployment (Public type)
Deployments trigger events when a specific reference (branch, SHA, tag) is requested, allowing external services to respond accordingly. InstaWP lets you add your public repositories from any Git provider (including Github, Gitlab, and Bitbucket) to your InstaWP account.
In this documentation, we will explore the steps to add a new Git public repository.
Let’s get started 🚀
Go to the Team profile from the top-right corner and select the Deployments option from the drop-down list.
A modal window will appear, requesting you to enter the values in the following fields:
Note: The Post-deployment commands feature is available in the Professional plan and above. View Pricing here. If you are not logged in, use this link to view pricing.
In this documentation, we will explore the steps to add a new Git public repository.
Let’s get started 🚀
Go to the Team profile from the top-right corner and select the Deployments option from the drop-down list.
A modal window will appear, requesting you to enter the values in the following fields:
Fields | Description |
---|---|
Repo Type | Select “Public” for the public Git repository. |
Repo URL | Paste the “HTTPS URL” of your public repository (i.e.,https://github.com/yourname/yourplugin.git). |
Branch | Mention the branch to which this deployment points. |
Destination Folder | The folder to which your repository content will be downloaded. |
Post Deployment Commands | Shell commands that will 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 plan and above. View Pricing here. If you are not logged in, use this link to view pricing.
Updated on: 15/07/2024
Thank you!