Skip to content

Commit eb41082

Browse files
committed
chore: check application running port
1 parent ad38005 commit eb41082

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/cicd-workflow.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,27 @@ jobs:
2727
submodules: true
2828

2929
# 2-1. 환경변수(yml) 파일이 있는지 확인
30-
- name: Check if config files exist
30+
- name: Check if config files exist - dev
31+
if: github.ref == 'refs/heads/develop'
32+
run: |
33+
echo "Current Directory: $(pwd)"
34+
cd config
35+
echo "Current Directory: $(pwd)"
36+
cd dev
37+
echo "Current Directory: $(pwd)"
38+
ls -al
39+
40+
- name: Check if config files exist - prod
41+
if: github.ref == 'refs/heads/develop'
3142
run: |
3243
echo "Current Directory: $(pwd)"
3344
cd config
3445
echo "Current Directory: $(pwd)"
35-
cd local
46+
cd prod
3647
echo "Current Directory: $(pwd)"
3748
ls -al
49+
50+
3851

3952
# 3. Gradle 실행 권한 부여
4053
- name: Grant execute permission for Gradle

0 commit comments

Comments
 (0)