From 64d768f7dfab15b08f66ab094ee8a42131272aa5 Mon Sep 17 00:00:00 2001 From: sung-silver Date: Thu, 11 Jan 2024 19:44:57 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE]=20CI/CD=20SCRIPT=EB=82=B4=20cloudfront-?= =?UTF-8?q?private-key=20=EC=83=9D=EC=84=B1=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev-CD.yml | 4 +++- .github/workflows/dev-CI.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-CD.yml b/.github/workflows/dev-CD.yml index e0b516d..6a96fea 100644 --- a/.github/workflows/dev-CD.yml +++ b/.github/workflows/dev-CD.yml @@ -20,10 +20,12 @@ jobs: distribution: 'temurin' java-version: '17' - - name: application.yaml 생성 + - name: resources 폴더 내 파일 생성 run: | mkdir -p src/main/resources echo "${{ secrets.DEV_APPLICATION }}" > src/main/resources/application.yaml + mkdir -p src/main/resources/key + echo "${{ secrets.CLOUDFRONT_PRIVATE_KEY }}" > src/main/resources/key/cloudfront-private-key.pem working-directory: ${{ env.working-directory }} - name: 빌드 diff --git a/.github/workflows/dev-CI.yml b/.github/workflows/dev-CI.yml index e205ee7..7d0c0f1 100644 --- a/.github/workflows/dev-CI.yml +++ b/.github/workflows/dev-CI.yml @@ -20,10 +20,12 @@ jobs: distribution: 'temurin' java-version: '17' - - name: application.yaml 생성 + - name: resources 폴더 내 파일 생성 run: | mkdir -p src/main/resources echo "${{ secrets.DEV_APPLICATION }}" > src/main/resources/application.yaml + mkdir -p src/main/resources/key + echo "${{ secrets.CLOUDFRONT_PRIVATE_KEY }}" > src/main/resources/key/cloudfront-private-key.pem working-directory: ${{ env.working-directory }} - name: build