Skip to content

Commit

Permalink
Action Yml 개발환경 수정 완료
Browse files Browse the repository at this point in the history
- Dev prod 환경 추가
- mongo 제거
  • Loading branch information
kyubeomHan committed Sep 18, 2023
1 parent 7665baa commit 47248a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 46 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cd_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ jobs:
touch ./application-secret.yml
echo "${{ secrets.PROPERTIES_SECRET }}" > ./application-secret.yml
shell: bash
- name: Make application-dev.yml
run: |
cd ./src/main/resources
touch ./application-dev.yml
echo "${{ secrets.PROPERTIES_SECRET_DEV }}" > ./application-dev.yml
shell: bash
- name: Make application-prod.yml
run: |
cd ./src/main/resources
touch ./application-prod.yml
echo "${{ secrets.PROPERTIES_SECRET_PROD }}" > ./application-prod.yml
shell: bash

# 6) 빌드
- name: Build with gradle
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Start MongoDB v${{ matrix.mongodb-version }}
uses: supercharge/mongodb-github-action@1.10.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-db: ${{ matrix.mongodb-db }}
- name: Make application-secret.yml
run: |
cd ./src/main/resources
Expand Down
41 changes: 0 additions & 41 deletions src/main/resources/application-test.yml

This file was deleted.

0 comments on commit 47248a4

Please sign in to comment.