From 32c6cbb16e87260422165e7485dad50f1e6623f6 Mon Sep 17 00:00:00 2001 From: HwanGonJang Date: Fri, 2 Feb 2024 18:38:45 +0900 Subject: [PATCH] fix: workflow --- .github/workflows/deploy_to_eb.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_to_eb.yml b/.github/workflows/deploy_to_eb.yml index 454d334..b3f1cb3 100644 --- a/.github/workflows/deploy_to_eb.yml +++ b/.github/workflows/deploy_to_eb.yml @@ -29,6 +29,14 @@ jobs: java-version: 17 - name: Grant execute permissions for gradlew run: chmod +x gradlew + + - name: Copy Secret + env: + CREATE_SECRET: ${{secrets.DAITSSU_DEV_APPLICATION_YML}} + CREATE_SECRET_DIR: src/main/resources + CREATE_SECRET_DIR_FILE_NAME: application-dev.yml + run: echo $CREATE_SECRET | base64 --decode > $CREATE_SECRET_DIR/$CREATE_SECRET_DIR_FILE_NAME + - name: Build shell: bash env: @@ -61,8 +69,8 @@ jobs: aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} region: ap-northeast-2 - application_name: daitssu-api - environment_name: daitssu-api-develop + application_name: daitssu-spring + environment_name: daitssu-spring-develop version_label: ${{ steps.extract_branch.outputs.branch }}-${{ github.sha }} deployment_package: application.zip wait_for_environment_recovery: 300 \ No newline at end of file