#Deployment via Git

Using GitLab to Deploy Apps on Cloudways Platform

  • GitLab Deployment on Cloudways Platform

    • Step 1: Generate the SSH Key

    • Step 2: Upload SSH Key To GitLab Repository

    • Step 3: Copy the SSH Address of the Repository

    • Step 4: Deploy the Application Code from the Repository

Deploy Using GitLab on Cloudways Platform

The process of deploying PHP apps on the Cloudways platform from GitLab is a simple matter of executing the following steps:

  1. Generate SSH Key

  2. Upload SSH to the GitHub Repository

  3. Copy the SSH address of the repository

  4. Deploy the application code from the repository

You can deploy PHP applications on the Cloudways Platform very easily, thanks to the integrated "Deployment Via Git" feature that helps connect your Git repository with the Cloudwyas managed server

Step 1: Generate the SSH Key

Sign in to your Cloudways account, visit the server where you wish to deploy the application, and head to the Application Settings.

In the Application Setting, head to the Deployment Via Git option available in the menu on the left of the window and click Generate SSH Key.

This will automatically generate an SSH key. Click View SSH Key which can be copied by hovering over and clicking the key.

Last updated