Our GIT deployment tool allows you to clone and manage GitHub repositories directly from the cdmon dashboard, without using FTP or GIT commands. This makes it easy to install and update projects quickly and easily.
To manage GIT repository deployments in our dashboard, we must first access the relevant section, from "File managers" and click on "Deploy GIT repositories"
Here you can see existing deployments and make new configurations:
1. Connect with provider (GitHub)
Everyone's first step is to connect your hosting with the provider where you have the repository you want to deploy. Currently, the only supplier we have available is GitHub. You can follow these steps:
When signing in with your GitHub account, you will need to authorize the connection to continue selecting the repository, you can select whether you want to give access to all the repositories created or select some specific ones:
2.Deploy a new repository
After connection, hclick on the button again onDeploy GIT Repository.Al click on GitHub, the repositories to which permissions have been granted will be listed.. Select the repository you want to deploy.
The next step is the configuration of deployment on our server. From here you can configure the Environment Variables and in the advanced options you can customize routes:
For environment variables:
From the advanced deployment options, you can configure these options:
Public Folder: Indicates the folder that the server must expose to the Internet (e.g.public
orweb
).
Associate the domain: Allows you to select whether deployment is associated with a hosting subdomain or another domain within the same hosting.
Once the options are configured, clickDeploy Application.
The dashboard will display real-time logs of the deployment process.
At the end, the message will appearDeployment completed successfully.
3.Edit an existing deployment
In the "Actions" column, select theediting button(the icon
):
It will open it configuration screen used when creating deployment. From here, you can make the following changes: Environment variables: Add new ones, modify or delete existing ones.
Public folder: Change the folder exposed to the Internet.
Domain Association: Modify the domain or subdomain linked to deployment.
The file will be updated.env
with the new variables and the public folder or domain will be reconfigured as appropriate.
4.Redesign a repository
In the "Actions" column, select theredeploy button(the icon
):
Confirm the action to initiate redeployment. Once completed, your project will be updated with the latest version of the repository.
Note:If you want to keep the files from the current deployment, we recommend backing up before redeploying the repository.
5. Delete a deployed repository
When removing a deployment:
The folder where deployment was deployed will be deleted, along with all the files in the repository.
The domain or subdomain association configured for this deployment will be removed.
Note:If you want to keep the deployment files, we recommend backing up before deleting the repository.
To delete a deployment, select the Delete in the list of deployed repositories.
A confirmation message will be displayed before proceeding.