The Pharmacy POS System Backend is the server-side component of our comprehensive pharmacy management software. It is developed using Spring Boot, Java, Spring Security ,and Microservices Architecture
This pull request includes significant updates to the GitHub Actions workflow to integrate deployment to AWS EC2 alongside the existing SonarCloud analysis. The most important changes include renaming the workflow and job names, setting up caching for Maven and SonarCloud packages, and adding steps for creating a GitHub release and deploying to AWS EC2.
Enhancements to the GitHub Actions workflow:
.github/workflows/build.yaml: Renamed the workflow to "SonarCloud and Deploy to AWS" and the job to "Build, analyze and deploy" to reflect the new deployment steps.
.github/workflows/build.yaml: Added a step to deploy the application to AWS EC2, including stopping the existing application, transferring the new JAR file, and restarting the application.
This pull request includes significant updates to the GitHub Actions workflow to integrate deployment to AWS EC2 alongside the existing SonarCloud analysis. The most important changes include renaming the workflow and job names, setting up caching for Maven and SonarCloud packages, and adding steps for creating a GitHub release and deploying to AWS EC2.
Enhancements to the GitHub Actions workflow:
.github/workflows/build.yaml
: Renamed the workflow to "SonarCloud and Deploy to AWS" and the job to "Build, analyze and deploy" to reflect the new deployment steps.Caching improvements:
.github/workflows/build.yaml
: Added steps to cache SonarCloud and Maven packages to improve build performance.Deployment additions:
.github/workflows/build.yaml
: Added a step to create a new GitHub release with the current commit SHA..github/workflows/build.yaml
: Added a step to deploy the application to AWS EC2, including stopping the existing application, transferring the new JAR file, and restarting the application.