Skip to content

Commit 13de0f4

Browse files
committed
fix: gradle 캐싱 제거 및 test의 properties에 smtp 정보 추가
1 parent c79dd2a commit 13de0f4

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ jobs:
1818
distribution: temurin
1919
java-version: 21
2020

21-
- name: Gradle 캐싱
22-
uses: actions/cache@v4
23-
with:
24-
path: |
25-
~/.gradle/caches
26-
~/.gradle/wrapper
27-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
28-
restore-keys: |
29-
${{ runner.os }}-gradle-
30-
3121
- name: 운영용 .properties로 교체
3222
run: echo "${{ secrets.APPLICATION_PROPERTIES }}" > ./src/main/resources/application.properties
3323

src/test/resources/application.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ aws.s3.region=ap-northeast-2
3333
aws.s3.bucket=killingpart-file
3434
aws.s3.url=${S3_URL}
3535

36+
spring.mail.host=smtp.gmail.com
37+
spring.mail.port=587
38+
spring.mail.username=${SMTP_NAME}
39+
spring.mail.password=${SMTP_PWD}
40+
spring.mail.properties.mail.smtp.auth=true
41+
spring.mail.properties.mail.smtp.starttls.enable=true
42+
spring.mail.survey.email=${SEND_EMAIL}

0 commit comments

Comments
 (0)