File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -26,18 +26,23 @@ jobs:
2626 java-version : 21
2727 distribution : ' temurin'
2828
29- - name : 파일 생성 권한 부여
30- run : chmod -R 777 ./src/main/resources
31-
3229 # application.yml 운영 환경 용 생성
3330 - name : Make application.yml
3431 run : |
32+ echo "PROD_COMMON: ${{ secrets.PROD_COMMON }}"
33+ echo "PROD: ${{ secrets.PROD }}"
34+ echo "PROD_SECRET: ${{ secrets.PROD_SECRET }}"
35+
3536 mkdir -p ./src/main/resources
37+ chmod -R 777 ./src/main/resources
3638 cd ./src/main/resources
39+
3740 touch ./application.yml
3841 touch ./application-prod.yml
3942 touch ./application-prod-secret.yml
4043
44+ ls -l
45+
4146 echo "${{ secrets.PROD_COMMON }}" | base64 --decode > ./application.yml
4247 echo "${{ secrets.PROD }}" | base64 --decode > ./application-prod.yml
4348 echo "${{ secrets.PROD_SECRET }}" | base64 --decode > ./application-prod-secret.yml
You can’t perform that action at this time.
0 commit comments