File tree 2 files changed +6
-6
lines changed
src/main/java/acc/hotsix/file_share/global/config
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ jobs:
35
35
- name : Grant execute permission for gradlew
36
36
run : chmod +x gradlew
37
37
38
- # # create application-prod.yml
39
- - name : create application.yml
38
+ # # create application-prod.properties
39
+ - name : create application.properties
40
40
run : |
41
41
cd ./src/main
42
42
cd ./resources
43
- touch ./application.yml
43
+ touch ./application.properties
44
44
ls *
45
- echo "${{ secrets.APPLICATION_YML }}" > ./application.yml
45
+ echo "${{ secrets.APPLICATION_PROPERTIES }}" > ./application.properties
46
46
47
47
- name : Build with Gradle
48
48
run : ./gradlew build -x test
Original file line number Diff line number Diff line change 14
14
@ Configuration
15
15
public class S3Config {
16
16
17
- @ Value ("${cloud.aws.credentials.accessKey }" )
17
+ @ Value ("${cloud.aws.credentials.access-key }" )
18
18
private String accessKey ;
19
19
20
- @ Value ("${cloud.aws.credentials.secretKey }" )
20
+ @ Value ("${cloud.aws.credentials.secret-key }" )
21
21
private String secretKey ;
22
22
23
23
@ Value ("${cloud.aws.region.static}" )
You can’t perform that action at this time.
0 commit comments