Skip to content

Commit 993e7ee

Browse files
committed
fix: resolve workflow error by adding concurrency and working-directory settings
1 parent d7b935d commit 993e7ee

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/deploy-getcloser.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
- deploy-getcloser
88
workflow_dispatch:
99

10+
# 같은 브랜치 동시 실행 시 이전 잡 취소(경쟁 배포 방지)
11+
concurrency:
12+
group: cert-${{ github.ref }}
13+
cancel-in-progress: true
14+
1015
jobs:
1116
# ========================================
1217
# 🚀 Deploy GetCloser Service
@@ -16,6 +21,9 @@ jobs:
1621
name: 🚀 Deploy GetCloser
1722
runs-on: oracle
1823
environment: getcloser
24+
defaults:
25+
run:
26+
working-directory: ./getcloser
1927

2028
steps:
2129
- name: Checkout branch

0 commit comments

Comments
 (0)