Skip to content

Commit 3d41cde

Browse files
authored
[FU-363] 백엔드 서버 마이그레이션 (#95)
* FU-363 docs: S3 경로 업데이트 cicdtest -> prod * FU-363 docs: cd workflow 임시 수정 서버 마이그레이션 진행 전, cd 동작 확인을 위해 임시 수정함
1 parent 6318e87 commit 3d41cde

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/cd_workflow_prod.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- develop
78

89
jobs:
910
build:
@@ -71,15 +72,15 @@ jobs:
7172

7273
- name: S3에 jar 업로드(실행 파일)
7374
run:
74-
aws s3 cp ./build/libs/freebe-0.0.1-SNAPSHOT.jar s3://${{secrets.AWS_S3_CICD_BUCKET}}/cicdtest/freebe.jar --region ap-northeast-2
75+
aws s3 cp ./build/libs/freebe-0.0.1-SNAPSHOT.jar s3://${{secrets.AWS_S3_CICD_BUCKET}}/prod/freebe.jar --region ap-northeast-2
7576

7677
- name: S3에 zip 업로드(전체 파일)
7778
run:
78-
aws s3 cp freebe.zip s3://${{secrets.AWS_S3_CICD_BUCKET}}/cicdtest/freebe.zip --region ap-northeast-2
79+
aws s3 cp freebe.zip s3://${{secrets.AWS_S3_CICD_BUCKET}}/prod/freebe.zip --region ap-northeast-2
7980

8081
- name: Code Deploy 로 배포
8182
run: >
8283
aws deploy create-deployment --application-name ${{ secrets.AWS_CODE_DEPLOY_APPLICATION }}
8384
--deployment-config-name CodeDeployDefault.AllAtOnce
8485
--deployment-group-name ${{ secrets.AWS_CODE_DEPLOY_GROUP }}
85-
--s3-location bucket=${{ secrets.AWS_S3_CICD_BUCKET }},bundleType=zip,key=cicdtest/freebe.zip
86+
--s3-location bucket=${{ secrets.AWS_S3_CICD_BUCKET }},bundleType=zip,key=prod/freebe.zip

0 commit comments

Comments
 (0)