File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,12 @@ jobs:
113113 echo "No test results found."
114114 fi
115115
116- # 8-1. S3 자격 증명 제거 (빌드 전에만)
117- - name : Remove only S3 credentials before building
116+ # 8-1. secrets 파일 완전 삭제
117+ - name : Remove secrets files before building
118118 run : |
119- CONFIG_FILE="src/main/resources/application-secrets.yml"
120- sed -i '/spring.cloud.aws.credentials.access-key/d' $CONFIG_FILE
121- sed -i '/spring.cloud.aws.credentials.secret-key/d' $CONFIG_FILE
122- sed -i '/spring.cloud.aws.region.static/d' $CONFIG_FILE
123- sed -i '/spring.cloud.aws.stack.auto/d' $CONFIG_FILE
119+ rm -f src/main/resources/application-secrets.yml
120+ rm -f src/main/resources/application-secrets-server.yml
121+ echo "Secrets files removed for build"
124122
125123 # 9. Gradle 빌드 실행 (테스트 성공 시)
126124 - name : Build with Gradle
You can’t perform that action at this time.
0 commit comments