Skip to content

Commit

Permalink
♻️refactor: .yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
xxoznge committed Jun 11, 2024
1 parent 85345fb commit 5061fe9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ jobs:
spring.datasource.username: ${{ secrets.DB_USER }}
spring.datasource.password: ${{ secrets.DB_PW }}
jwt.secret: ${{ secrets.SECURITY_KEY }}

cloud.aws.region.static: ${{ secrets.AWS_REGION }}
cloud.aws.s3.bucket: ${{ secrets.S3_BUCKET }}
cloud.aws.credentials.accessKey: ${{ secrets.S3_ACCESS_KEY }}
cloud.aws.credentials.secretKey: ${{ secrets.S3_SECRET_KEY }}

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash
Expand Down
14 changes: 14 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,17 @@ jwt:
redis:
host: ${REDIS_HOSTNAME}
port: ${REDIS_PORT}

cloud:
aws:
s3:
bucket: ${S3_BUCKET}
folder: images/
region:
static: ${AWS_REGION}
stack:
auto: false
credentials:
accessKey: ${S3_ACCESS_KEY}
secretKey: ${S3_SECRET_KEY}

0 comments on commit 5061fe9

Please sign in to comment.