https://github.com/pro-cms/cwp-git-deployer
This module is designed to aid in the deployment of websites from GitHub to a CentOS Web Panel (CWP)
https://github.com/pro-cms/cwp-git-deployer
autodeploy cwp deploy
Last synced: about 2 months ago
JSON representation
This module is designed to aid in the deployment of websites from GitHub to a CentOS Web Panel (CWP)
- Host: GitHub
- URL: https://github.com/pro-cms/cwp-git-deployer
- Owner: pro-cms
- Created: 2023-07-22T19:15:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-23T11:30:57.000Z (over 2 years ago)
- Last Synced: 2025-07-19T17:33:31.912Z (8 months ago)
- Topics: autodeploy, cwp, deploy
- Language: HTML
- Homepage:
- Size: 284 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CWP Module for Deploying Github Website
## Description
This module is designed to aid in the deployment of websites from GitHub to a CentOS Web Panel (CWP). It requires the user to enter their repository name, branch, and the directory to be added, which will be saved in their home directory as `deploydatabase.json`.
CWP FORUM THREAD : ([CWP FORUM](http://forum.centos-webpanel.com/index.php?topic=12981.msg44860#msg44860))

## Installation
1. Download the zip file from this repository and upload it to the root directory of your CWP installation.
2. Unzip the files.
3. Update the `/usr/local/cwpsrv/htdocs/resources/conf/user_panel/menuConf.php` file with the `menuConf.php` provided in the `services` folder.
4. In the User Account settings of your CWP panel, update the permissions for Features, Themes, and Languages for the specific user or account.
## Usage
After installation, go to your CWP User panel , Go to file manager select Github Deploy and navigate to the newly installed module. Here, enter your GitHub repository name, branch, and the directory that you want to add to your website.
The module will generate a private key for you to use as a deploy key on GitHub. Click on the 'Copy' button to copy this key.

Then, navigate to your GitHub repository and go to Settings -> Deploy keys. Paste the copied key here.

Once you've added the deploy key, your website files will be fetched from your GitHub repository and deployed to your CWP server.
## Contribution & Support
This module is open for contributions. If you find it useful, consider supporting the development through a sponsorship, or you can [BUY ME A COFFEE](https://www.buymeacoffee.com/novaprocms).
Current sponsor: Zepson Hosting ([zepsohost.com](https://www.zepsonhost.com))
GitHub: [pro-cms](https://github.com/pro-cms)
## Future Plans
We are working on adding webhook support to the module. Stay tuned for more updates.