Deploy from Git
Deploy an app or task directly from a public or private Git repository.
Ricochet fills in the settings from the repository’s _ricochet.toml when it has one.
Add a credential for a private repository
Section titled “Add a credential for a private repository”Skip this section when deploying a public repository.
-
Open Credentials in ricochet.
-
Select Git Credentials, then select Add Credential.
-
Enter a unique Name and choose the credential Type:
- Choose
sshand paste an SSH Private Key for an SSH repository URL. - Choose
httpsand enter the Username and Password or Token supplied by your Git provider for an HTTPS repository URL.
- Choose
-
Select Add Credential.
Deploy the repository
Section titled “Deploy the repository”-
Open Deploy in ricochet.
-
Enter the Repository URL.
-
Under Credential, keep Public for a public repository or choose the saved credential for a private repository.
-
Select the Branch to deploy.
-
If the project is in a subdirectory, enter its repository-relative Path.
-
Check the Settings loaded from
_ricochet.toml, or fill them in if the repository has none:- Name, Type, and Entrypoint.
- Visibility: Private, Internal, or External. Private needs a license.
- Serve as a static site for a report or notebook that renders to HTML.
-
To install packages from somewhere other than the server defaults, open Package repositories.
-
Select Deploy.
A check mark appears in Entrypoint and Packages file when Ricochet finds them in the repository. You can select Deploy once both are found.
If another app or task already uses the ID in _ricochet.toml, select Use new ID to deploy this one separately.
Ricochet clones the selected revision and opens the new item’s overview, where you can monitor the deployment.