beanstalk test

This commit is contained in:
Sofiene BEN KHEMIS
2021-05-10 17:42:06 +02:00
parent 615c48990f
commit 7da26f1452

View File

@@ -28,4 +28,18 @@ jobs:
run: mvn -B verify sonar:sonar -Dsonar.projectKey=sofieneBK_hands-on-hexagonal-architecture-with-spring-boot -Dsonar.organization=sofienebk -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Deploy to EB
uses: einaregilsson/beanstalk-deploy@v13
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: spring-java-11
environment_name: Springjava11-env
version_label: ${{github.SHA}}
region: us-east-1
deployment_package: ms-launcher/target/ms-launcher-1.0-SNAPSHOT.jar