From 75710b295ed762ae3fc6f995df2d29d1e1fd44d3 Mon Sep 17 00:00:00 2001 From: TtiPo Date: Sun, 19 Jul 2026 05:06:33 +0900 Subject: [PATCH] =?UTF-8?q?t2=EB=A5=BC=20=EA=B0=9C=EB=B3=84=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=EB=B8=8C=20=EC=9E=A1=203=EA=B0=9C=EB=A1=9C=20?= =?UTF-8?q?=EB=B6=84=EB=A6=AC,=20=EC=99=84=EB=A3=8C=EB=90=9C=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=9B=8C=ED=81=AC=ED=94=8C=EB=A1=9C?= =?UTF-8?q?=EC=9A=B0=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- .gitea/workflows/ci-test.yml | 29 ----------------------------- .gitea/workflows/ci-test2.yml | 13 ------------- .gitea/workflows/t1.yml | 19 ------------------- .gitea/workflows/t2.yml | 22 +++++++++++++++------- .gitea/workflows/t3.yml | 12 ------------ 5 files changed, 15 insertions(+), 80 deletions(-) delete mode 100644 .gitea/workflows/ci-test.yml delete mode 100644 .gitea/workflows/ci-test2.yml delete mode 100644 .gitea/workflows/t1.yml delete mode 100644 .gitea/workflows/t3.yml diff --git a/.gitea/workflows/ci-test.yml b/.gitea/workflows/ci-test.yml deleted file mode 100644 index afd7365d..00000000 --- a/.gitea/workflows/ci-test.yml +++ /dev/null @@ -1,29 +0,0 @@ -# 러너 동작 확인용 임시 워크플로우 — deploy.yml과 동일한 스텝, 이름만 다름 -name: CI Test - -on: - push: - branches: [main] - -env: - DEPLOY_DIR: /home/deploy/stacks/_clients/blog_report - -jobs: - test: - runs-on: deploy - steps: - - name: Pull latest code - run: | - cd "$DEPLOY_DIR" - git remote set-url origin "https://gitea-actions:${{ github.token }}@git.wandergo.net/partnership/blog_report.git" - git fetch origin main - git reset --hard origin/main - - - 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; } - - - name: Docker check - run: docker compose version diff --git a/.gitea/workflows/ci-test2.yml b/.gitea/workflows/ci-test2.yml deleted file mode 100644 index e7d6e559..00000000 --- a/.gitea/workflows/ci-test2.yml +++ /dev/null @@ -1,13 +0,0 @@ -# 이름/잡ID 가설 확인용 — deploy.yml과 동일한 이름 구조, 스텝은 echo만 -name: Deploy2 - -on: - push: - branches: [main] - -jobs: - deploy: - runs-on: deploy - steps: - - name: Hello - run: echo "job id deploy works" diff --git a/.gitea/workflows/t1.yml b/.gitea/workflows/t1.yml deleted file mode 100644 index c0c435dd..00000000 --- a/.gitea/workflows/t1.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: T1 git pull step - -on: - push: - branches: [main] - -env: - DEPLOY_DIR: /home/deploy/stacks/_clients/blog_report - -jobs: - t1: - runs-on: deploy - steps: - - name: Pull latest code - run: | - cd "$DEPLOY_DIR" - git remote set-url origin "https://gitea-actions:${{ github.token }}@git.wandergo.net/partnership/blog_report.git" - git fetch origin main - git reset --hard origin/main diff --git a/.gitea/workflows/t2.yml b/.gitea/workflows/t2.yml index e6648d88..7b02ad20 100644 --- a/.gitea/workflows/t2.yml +++ b/.gitea/workflows/t2.yml @@ -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 diff --git a/.gitea/workflows/t3.yml b/.gitea/workflows/t3.yml deleted file mode 100644 index 6d791355..00000000 --- a/.gitea/workflows/t3.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: T3 docker step - -on: - push: - branches: [main] - -jobs: - t3: - runs-on: deploy - steps: - - name: Docker check - run: docker compose version