beanstalk test
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user