This is a Go module that serves as a deployment server for the X-Host project. It is responsible for cloning GitHub repositories, creating ZIP archives of the cloned code, and uploading the archives to Amazon S3 Object Storage.
- Accepts GitHub repository URLs via HTTP POST requests
- Validates the provided GitHub repository URLs
- Generates random deployment IDs
- Clones GitHub repositories using the go-git library
- Creates ZIP archives of the cloned code
- Uploads ZIP archives to Amazon S3 Object Storage
If you'd like to contribute to this project, please follow the standard GitHub workflow:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them
- Push your changes to your forked repository
- Submit a pull request
This project is licensed under the MIT License.