Skip to content

Commit

Permalink
[FEAT] yaml파일 생성 여부 체크 스크립트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong0329 authored May 20, 2024
1 parent ec10d7b commit c0a5627
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/Dev-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "${{ secrets.FIRE_BASE_DEV }}" > src/main/resources/fire-base.json
working-directory: ${{ env.working-directory }}

- name: 파일 존재 여부 확인
- name: fire-base.json파일 생성 여부 확인
run: |
if [ -f "src/main/resources/fire-base.json" ]; then
echo "fire-base.json 파일이 생성되었습니다."
Expand All @@ -40,6 +40,16 @@ jobs:
fi
working-directory: ${{ env.working-directory }}

- name: yaml파일 생성 여부 확인
run: |
if [ -f "src/main/resources/application.yaml" ]; then
echo "application.yaml 파일이 생성되었습니다."
else
echo "application.yaml 파일이 생성되지 않았습니다."
exit 1
fi
working-directory: ${{ env.working-directory }}

- name: 빌드
run: |
chmod +x gradlew
Expand Down

0 comments on commit c0a5627

Please sign in to comment.