From b8cda8047afe092b74b52f4660b7e5efa98924b1 Mon Sep 17 00:00:00 2001 From: Jiyoon Kim Date: Sun, 14 Jan 2024 14:15:04 +0900 Subject: [PATCH] =?UTF-8?q?#3=20fix:=20jar=20=ED=8C=8C=EC=9D=BC=EB=AA=85?= =?UTF-8?q?=20=EB=B0=8F=20=EB=B3=B5=EC=82=AC=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 5 +++-- {.platform => backend/.platform}/nginx/nginx.conf | 0 backend/Procfile | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename {.platform => backend/.platform}/nginx/nginx.conf (100%) 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