File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -87,20 +87,19 @@ jobs:
8787 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
8888 aws-region : ${{ secrets.AWS_REGION }}
8989
90- - name : Secret 파일 수동 생성
90+ - name : 필요한 파일 수동 생성
9191 run : |
92- chmod -R 777 ./src/main/resources
93- mkdir -p ./src/main/resources
94- echo "${{ secrets.PROD_SECRET }}" | base64 --decode > ./src/main/resources/application-prod-secret.yml
95-
9692 mkdir -p ./deploy-package/src/main/resources
97- rsync -av --exclude='deploy-package' ./ ./deploy-package
98- cp ./src/main/resources/application-prod-secret.yml ./deploy-package/src/main/resources/application-prod-secret.yml
93+
94+ # yml 복사
95+ cp ./src/main/resources/application*.yml ./deploy-package/
96+
97+ # jar 복사
98+ cp ./build/libs/Log4U-0.0.1-SNAPSHOT.jar ./deploy-package/
99+ # rsync -av --exclude='deploy-package' ./ ./deploy-package
99100
100- - name : 빌드 결과 수동 생성
101- run : |
102- mkdir -p ./deploy-package/build/libs
103- cp build/libs/Log4U-0.0.1-SNAPSHOT.jar ./deploy-package/build/libs/
101+ # echo "${{ secrets.PROD_SECRET }}" | base64 --decode > ./src/main/resources/application-prod-secret.yml
102+ # cp ./src/main/resources/application-prod-secret.yml ./deploy-package/src/main/resources/application-prod-secret.yml
104103
105104 # 빌드 결과물을 S3 버킷에 업로드
106105 - name : Upload to AWS S3
Original file line number Diff line number Diff line change 11## 개발 환경 설정
22
3- * 루트 디렉토리(WEB3_4_Log4U_BE)에서 다음 명령 실행
4-
3+ [ AWS API SERVER ] ( http://ec2-13-209-127-186.ap-northeast-2.compute.amazonaws.com )
4+ ---
55
6+ * 루트 디렉토리(WEB3_4_Log4U_BE)에서 다음 명령 실행
67* 개발용 MYSQL 빌드
78
89```
You can’t perform that action at this time.
0 commit comments