Skip to content

Commit

Permalink
dev_deploy.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CYY1007 committed Oct 16, 2023
1 parent b8426bf commit 8774e5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@ jobs:
java-version: 17 # (5).자바 설치
distribution: 'adopt'

- name: Set Environment
uses: microsoft/variable-substitution@v1
with:
files: ./src/main/resources/application.yml
format: yaml
env:
jwt.secret: ${{ secrets.JWT_SECRET_KEY }}
spring.datasource.username: ${{ secrets.AWS_DB_USERNAME }}
spring.datasource.password: ${{ secrets.AWS_DB_PASSWORD }}
spring.datasource.url: ${{ secrets.AWS_DB_URL }}

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash # (6).권한 부여
Expand Down Expand Up @@ -69,5 +58,5 @@ jobs:
version_label: github-action-${{ steps.current-time.outputs.formattedTime }}
region: ap-northeast-1
deployment_package: deploy/deploy.zip
wait_for_environment_recovery: 60
wait_for_deployment: false

7 changes: 7 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
spring:
profiles:
active: local
springdoc:
swagger-ui:
tags-sorter: alpha # alpha: 알파벳 순 태그 정렬, method: HTTP Method 순 정렬
operations-sorter: alpha # alpha: 알파벳 순 태그 정렬, method: HTTP Method 순 정렬
cache:
disabled: true
use-fqn: true
---
spring:
config:
Expand Down

0 comments on commit 8774e5e

Please sign in to comment.