Skip to content

Commit

Permalink
#3 fix : application.yml 못찾는 오류 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed Mar 26, 2024
1 parent 60e5c37 commit ca92622
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# application.yml 반영
- name: Make application.yml
# application.yml 파일 생성
- name: make application.yml
if: |
contains(github.ref, 'main')
run: |
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION_SECRET}}" > ./application.yml
shell: bash
mkdir -p ./config # config 폴더 생성
echo "${{ secrets.YML }}" > ./config/application.yml # GitHub Secrets에서 설정한 값을 application.yml 파일에 쓰기
# Gradle BootJar
- name: BootJar with Gradle
Expand Down

0 comments on commit ca92622

Please sign in to comment.