File tree Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 3636 java-version : 21
3737 distribution : ' temurin'
3838
39+ # application.yml 생성
40+ - name : Make application.yml
41+ run : |
42+ mkdir -p ./src/main/resources
43+ cd ./src/main/resources
44+ touch ./application.yml
45+ touch ./application-secrets.yml
46+ echo "${{ secrets.APPLICATION }}" > ./application.yml
47+ echo "${{ secrets.SECRET }}" > ./application-secret.yml
3948 # Gradle cache 설정
4049 - name : Cache Gradle packages
4150 uses : actions/cache@v4
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ os: linux
33
44files :
55 - source : /
6- destination : /home/ubuntu/build
6+ destination : /home/ubuntu/app
77 overwrite : yes
88
99permissions :
Original file line number Diff line number Diff line change 1+ spring :
2+ profiles :
3+ include : secret
4+
5+ datasource :
6+ url : ${mysql.url}
7+ username : ${mysql.username}
8+ password : ${mysql.password}
9+ driver-class-name : com.mysql.cj.jdbc.Driver
10+
11+ jpa :
12+ hibernate :
13+ ddl-auto : create
14+
15+ security :
16+ oauth2 :
17+ client :
18+ registration :
19+ naver :
20+ client-name : naver
21+ client-id : ${naver.client-id}
22+ client-secret : ${naver.client-secret}
23+ redirect-uri : ${naver.redirect-uri}
24+ authorization-grant-type : authorization_code
25+ scope :
26+ - name
27+ - email
28+ - nickname
29+
30+ google :
31+ client-name : google
32+ client-id : ${google.client-id}
33+ client-secret : ${google.client-secret}
34+ redirect-uri : ${google.redirect-uri}
35+ authorization-grant-type : authorization_code
36+ scope :
37+ - profile
38+ - email
39+
40+ provider :
41+ naver :
42+ authorization-uri : https://nid.naver.com/oauth2.0/authorize
43+ token-uri : https://nid.naver.com/oauth2.0/token
44+ user-info-uri : https://openapi.naver.com/v1/nid/me
45+ user-name-attribute : response
You can’t perform that action at this time.
0 commit comments