deploy: 저장소 이름 변경(blog_report -> report) 반영
Deploy / deploy (push) Failing after 1s

저장소가 report로 이름이 바뀌면서 배포 워크플로우의 git 주소와 DEPLOY_DIR이 옛 이름을 가리켜 Pull 단계에서 즉시 실패하던 문제 수정

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 15:08:27 +09:00
parent 5f7fa3689f
commit d7e31ae38c
+3 -3
View File
@@ -4,7 +4,7 @@
# 사전 준비 (배포 서버에서 1회): # 사전 준비 (배포 서버에서 1회):
# 1. act_runner를 host 모드 라벨 "deploy"로 등록 (러너 계정: deploy) # 1. act_runner를 host 모드 라벨 "deploy"로 등록 (러너 계정: deploy)
# 2. 영구 배포 디렉터리 준비: # 2. 영구 배포 디렉터리 준비:
# git clone https://git.wandergo.net/partnership/blog_report.git ~/stacks/_clients/blog_report # git clone https://git.wandergo.net/partnership/report.git ~/stacks/_clients/report
# 해당 디렉터리에 .env 와 frontend/.env.production 을 생성 (chmod 600) # 해당 디렉터리에 .env 와 frontend/.env.production 을 생성 (chmod 600)
# #
# .env 는 gitignore 대상이라 git 작업에 영향받지 않고 서버에 유지됩니다. # .env 는 gitignore 대상이라 git 작업에 영향받지 않고 서버에 유지됩니다.
@@ -16,7 +16,7 @@ on:
branches: [main] branches: [main]
env: env:
DEPLOY_DIR: /home/deploy/stacks/_clients/blog_report DEPLOY_DIR: /home/deploy/stacks/_clients/report
jobs: jobs:
deploy: deploy:
@@ -25,7 +25,7 @@ jobs:
- name: Pull latest code - name: Pull latest code
run: | run: |
cd "$DEPLOY_DIR" cd "$DEPLOY_DIR"
git remote set-url origin "https://gitea-actions:${{ github.token }}@git.wandergo.net/partnership/blog_report.git" git remote set-url origin "https://gitea-actions:${{ github.token }}@git.wandergo.net/partnership/report.git"
git fetch origin main git fetch origin main
git reset --hard origin/main git reset --hard origin/main