A Deployment Key is an SSH key that you generate in RunCloud and add to your git repository settings, such as GitHub, GitLab, Bitbucket, etc. By doing this, you can then authorize RunCloud to access and clone your repository to your server.

To use a Deployment Key in RunCloud, follow these steps:

  1. Log in to your RunCloud dashboard and select the server that has the web application that you want to deploy.
  2. Click on “Deployment Key” from the main navigation menu and then click on the “View” button corresponding to the system user account that you want to use. If a key does not exist, RunCloud will prompt you to generate a deployment key.
  1. Copy the generated SSH key and log in to your git repository provider’s dashboard, such as GitHub, and go to the repository settings that you want to deploy.
  1. Go to the “Deploy Keys” section and click on “Add Deploy Key“.
  2. Enter a title for your Deploy Key, such as “RunCloud Deploy Key”, and paste the SSH key that you copied from RunCloud.
  3. Confirm and save the key in your git provider’s dashboard.

Now, you have successfully connected your web application to your git repository using a Deployment Key, and can now start using it.

You can also get the WebHook URL from RunCloud, which will allow you to trigger a deployment whenever you push new changes to your repository branch. You can add this WebHook URL to your repository settings in your git provider’s dashboard.