Skip to content

Commit 75fbd85

Browse files
author
bu2000
committed
make ci.yml
1 parent 08b64e5 commit 75fbd85

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Java CI with Gradle
2+
on:
3+
push:
4+
branches: ["main", "develop"]
5+
6+
pull_request:
7+
branches: ["main", "develop"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up JDK 21
18+
uses: actions/setup-java@v4
19+
with:
20+
java-version: "21"
21+
distribution: "temurin"
22+
23+
- name: Cache Gradle packages
24+
uses: actions/cache@v4
25+
with:
26+
path: |
27+
~/.gradle/caches
28+
~/.gradle/wrapper
29+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
30+
restore-keys: |
31+
${{ runner.os }}-gradle-
32+
33+
- name: Grant execute permission for gradlew
34+
run: chmod +x ./gradlew
35+
36+
- name: Build with Gradle (Skip Tests)
37+
env:
38+
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}
39+
run: ./gradlew build -x test

src/main/java/com/webservice/algorithmchef/service/EmailService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void sendTemporaryPasswordEmail(String toEmail, String tempPassword) {
4949

5050
String htmlContent = "<html>"
5151
+ "<body style='font-family: Arial, sans-serif;'>"
52-
+ "<h2>[밥도둑] 임시 비밀번호 안내</h2>"
52+
+ "<h2>[알고리듬 셰프] 임시 비밀번호 안내</h2>"
5353
+ "<p>요청하신 임시 비밀번호입니다. 로그인 후 반드시 비밀번호를 변경해주세요.</p>"
5454
+ "<div style='background-color: #f4f4f4; padding: 15px; border-radius: 5px; font-size: 18px; font-weight: bold; text-align: center;'>"
5555
+ tempPassword

0 commit comments

Comments
 (0)