t2를 개별 프로브 잡 3개로 분리, 완료된 테스트 워크플로우 정리
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+15
-7
@@ -1,4 +1,4 @@
|
||||
name: T2 env check step
|
||||
name: T2 probes
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -8,11 +8,19 @@ env:
|
||||
DEPLOY_DIR: /home/deploy/stacks/_clients/blog_report
|
||||
|
||||
jobs:
|
||||
t2:
|
||||
a-root-env-exists:
|
||||
runs-on: deploy
|
||||
steps:
|
||||
- name: Check env files exist
|
||||
run: |
|
||||
cd "$DEPLOY_DIR"
|
||||
test -f .env || { echo "ERROR: $DEPLOY_DIR/.env 가 없습니다"; exit 1; }
|
||||
test -f frontend/.env.production || { echo "ERROR: frontend/.env.production 이 없습니다"; exit 1; }
|
||||
- run: test -f "$DEPLOY_DIR/.env"
|
||||
|
||||
b-frontend-env-exists:
|
||||
runs-on: deploy
|
||||
steps:
|
||||
- run: test -f "$DEPLOY_DIR/frontend/.env.production"
|
||||
|
||||
c-brace-korean-syntax:
|
||||
runs-on: deploy
|
||||
steps:
|
||||
- run: |
|
||||
true || { echo "ERROR: 파일이 없습니다"; exit 1; }
|
||||
echo ok
|
||||
|
||||
Reference in New Issue
Block a user