-
Notifications
You must be signed in to change notification settings - Fork 1
Build deploy documentation
This document provides step-by-step instructions for building and deploying a Java-based project using Gradle as a build tool and GitHub as the deployment system.
The scope of this document covers the entire process from cloning the repository to deploying the project to GitHub.
Ensure the following software is installed on your machine:
Create a GitHub repository for your project and obtain the repository URL.
git clone <repository-url>
cd <project-directory>
gradle clean build
gradle test
gradle jar
The JAR file will be located in build/libs/.
Set up GitHub Actions by creating a .github/workflows/build.yml file.
Edit the workflow configuration file according to your project's needs.
GitHub Actions will trigger the workflow on every specified action. Adjust triggers in the workflow file to suit your requirements.
If the build fails, check the error messages and resolve any missing dependencies or configuration issues.
If deployment to GitHub fails, review the GitHub Actions logs for error details. Ensure that the workflow configuration is accurate and that necessary permissions are granted.