diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 28aa2a0f..3002ad64 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,12 +50,13 @@ jobs: - name: Generate deployment package run: | mkdir -p deploy - cp build/libs/howAboutTrip.jar deploy/howAboutTrip-prod-ebextensions-1.jar + cp build/libs/howAboutTrip.jar deploy/application.jar cp Procfile deploy/Procfile + cp -r .platform deploy/.platform cd deploy && zip -r deploy.zip . - name: Beanstalk Deploy - uses: einaregilsson/beanstalk-deploy@v21 + uses: einaregilsson/beanstalk-deploy@v20 with: aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.platform/nginx/nginx.conf b/backend/.platform/nginx/nginx.conf similarity index 100% rename from .platform/nginx/nginx.conf rename to backend/.platform/nginx/nginx.conf diff --git a/backend/Procfile b/backend/Procfile index d052faeb..59a0230a 100644 --- a/backend/Procfile +++ b/backend/Procfile @@ -1 +1 @@ -web: java -jar howAboutTrip-prod-ebextensions-1.jar \ No newline at end of file +web: java -jar howAboutTrip.jar \ No newline at end of file