Skip to content

Commit 520cea2

Browse files
committed
Fix: github action application.properties 사용 변경
1 parent 7e3eab2 commit 520cea2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/gradle.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
- name: Grant execute permission for gradlew
3636
run: chmod +x gradlew
3737

38-
## create application-prod.yml
39-
- name: create application.yml
38+
## create application-prod.properties
39+
- name: create application.properties
4040
run: |
4141
cd ./src/main
4242
cd ./resources
43-
touch ./application.yml
43+
touch ./application.properties
4444
ls *
45-
echo "${{ secrets.APPLICATION_YML }}" > ./application.yml
45+
echo "${{ secrets.APPLICATION_PROPERTIES }}" > ./application.properties
4646
4747
- name: Build with Gradle
4848
run: ./gradlew build -x test

src/main/java/acc/hotsix/file_share/global/config/S3Config.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
@Configuration
1515
public class S3Config {
1616

17-
@Value("${cloud.aws.credentials.accessKey}")
17+
@Value("${cloud.aws.credentials.access-key}")
1818
private String accessKey;
1919

20-
@Value("${cloud.aws.credentials.secretKey}")
20+
@Value("${cloud.aws.credentials.secret-key}")
2121
private String secretKey;
2222

2323
@Value("${cloud.aws.region.static}")

0 commit comments

Comments
 (0)