Skip to content

Commit

Permalink
[CHORE] CI/CD SCRIPT내 cloudfront-private-key 생성 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sung-silver committed Jan 11, 2024
1 parent 2bee54b commit 64d768f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dev-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 빌드
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dev-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64d768f

Please sign in to comment.