Add Deployment (Private type)
Private Git repositories are only accessible to you or anyone you grant access to. InstaWP lets you add your private 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 private 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:
In this documentation, we will explore the steps to add a new Git private 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 “Private” for the private Git repository. |
Repo URL | Paste the “SSH URL” of your private 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: Available in the Professional plan or above. View Pricing. |
SSH Key Pair | Select an SSH key pair or generate one to work with a private repository easily without username and password authentication. Note: On Github, paste the SSH key to the Private repository’s deploy key setting. |
Updated on: 30/09/2024
Thank you!