Install repository
The repository:install command allows you to install a Git repository to your site.
ploi repository:install
Install a repository to a specific site:
ploi repository:install --server=blue-ocean --site=example.com
Options
| Option | Description |
|---|---|
--server= | The server name or ID |
--site= | The site domain |
Interactive Setup
When running the command, you will be guided through:
- Selecting a Git provider: GitHub, GitLab, Bitbucket, or Custom
- Confirming the repository URL: The CLI will attempt to auto-detect your repository
- Choosing a branch: Select which branch to deploy
Important: When using GitHub, GitLab, or Bitbucket, specify your repository in short form (e.g., ploi/example-app). When using a custom provider, specify the full URL (e.g., [email protected]:ploi/example-app.git).