diff --git a/.github/workflows/deploy_msa_k8s.yml b/.github/workflows/deploy_msa_k8s.yml index 99097108..d90c5eaa 100644 --- a/.github/workflows/deploy_msa_k8s.yml +++ b/.github/workflows/deploy_msa_k8s.yml @@ -32,6 +32,20 @@ jobs: - name: login ECR id: login-ecr uses: aws-actions/amazon-ecr-login@v1 + + - name: create-member-json + uses: jsdaniell/create-json@v1.2.3 + with: + name: "dongsanginong-24f95-firebase-adminsdk-1qp94-db073413ff.json" + json: ${{ secrets.FCM_CREDENTIALS }} + dir: './backend/member/src/main/resources' + + - name: create-product-json + uses: jsdaniell/create-json@v1.2.3 + with: + name: "dongsanginong-24f95-firebase-adminsdk-1qp94-db073413ff.json" + json: ${{ secrets.FCM_CREDENTIALS }} + dir: './backend/product/src/main/resources' # product - name: build and push docker product images to ecr diff --git a/backend/member/k8s/member-depl.yml b/backend/member/k8s/member-depl.yml index 54fbc98d..8142a21a 100644 --- a/backend/member/k8s/member-depl.yml +++ b/backend/member/k8s/member-depl.yml @@ -144,7 +144,7 @@ spec: #무중단 배포를 위한 컨테이너 헬스체크 readinessProbe: httpGet: - path: /member/healthcheck + path: /member-service/member/healthcheck port: 8080 # 컨테이너 시작 후 지연 시간 설정 initialDelaySeconds: 20