From c632fc0154222e3bb5941d31f7e57d4c6cc9cfa3 Mon Sep 17 00:00:00 2001 From: jinseohyun1228 <121755257+jinseohyun1228@users.noreply.github.com> Date: Fri, 8 Nov 2024 04:40:34 +0900 Subject: [PATCH] Update Deploy.yml --- .github/workflows/Deploy.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 6c5142f6..eabc76af 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -41,13 +41,17 @@ jobs: working-directory: ./boomerang run: ./gradlew build -x test + - name: Debug working directory + run: | + echo "Current directory: $(pwd)" + ls -l ./boomerang/scripts + - name: Convert line endings and grant execute permission for scripts - working-directory: ./boomerang/scripts run: | # Convert Windows line endings to Unix line endings - sed -i 's/\r$//' start_server.sh + sed -i 's/\r$//' ./boomerang/scripts/start_server.sh # Grant execute permission - chmod +x start_server.sh + chmod +x ./boomerang/scripts/start_server.sh - name: Make zip file including appspec.yml run: | @@ -68,6 +72,9 @@ jobs: - name: Upload to S3 run: aws s3 cp application.zip s3://$S3_BUCKET_NAME/application.zip + - name: List objects in S3 bucket + run: aws s3 ls s3://$S3_BUCKET_NAME/ # S3 버킷의 객체 목록을 나열 + - name: Deploy with CodeDeploy run: | aws deploy create-deployment \