diff --git a/.github/workflows/backend_dev.yml b/.github/workflows/backend_dev.yml index 7639097..8fa7d5b 100644 --- a/.github/workflows/backend_dev.yml +++ b/.github/workflows/backend_dev.yml @@ -37,6 +37,7 @@ jobs: secret-ids: | ,dev/jumo/server # comma 오타 아님 + parse-json-secrets: true - name: Setup Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 @@ -44,14 +45,10 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew -# - name: Set application properties from GitHub Secrets -# run: | -# echo '${{ secrets.APP_CONFIG_JSON }}' > config.json -# mkdir -p src/main/resources -# jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' config.json > src/main/resources/application.properties - - name: Build with Gradle Wrapper run: ./gradlew build + env: + SPRING_PROFILES_ACTIVE: dev - name: Login to Amazon ECR uses: aws-actions/amazon-ecr-login@v1