Skip to content

Commit

Permalink
HOTFIX: CI/CD 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ehs208 committed Oct 15, 2024
1 parent d7d7434 commit 4f251f1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ jobs:
echo "${{ secrets.YML_JWT }}" > ./application-jwt.yml
shell: bash

# 환경별 yml 파일 생성(4) - mail
- name: make application-jwt.yml
if: contains(github.ref, 'develop')
run: |
cd ./src/main/resources
touch ./application-jwt.yml
echo "${{ secrets.YML_MAIL }}" > ./application-mail.yml
shell: bash

# 환경별 yml 파일 생성(5) - oauth
- name: make application-jwt.yml
if: contains(github.ref, 'develop')
run: |
cd ./src/main/resources
touch ./application-oauth.yml
echo "${{ secrets.YML.OAUTH }}" > ./application-oauth.yml
shell: bash

# gradle build
- name: Build with Gradle
run: ./gradlew build -x test
Expand Down

0 comments on commit 4f251f1

Please sign in to comment.