fix(deploy): agent-office를 배포 rsync 대상에 추가

deploy-nas.sh의 rsync/chown 루프에 agent-office 디렉토리가
누락되어 NAS 런타임에 복사되지 않던 문제 수정.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-11 14:23:52 +09:00
parent 9a02ed1fd3
commit a3f9f1cb39

View File

@@ -32,7 +32,7 @@ cd "$SRC"
# backend, travel-proxy, deployer, nginx, scripts, docker-compose.yml, .env 등
RSYNC_OPTS="-rl --delete --no-owner --no-group --exclude .git --exclude __pycache__ --exclude *.pyc --exclude data/"
for dir in backend travel-proxy deployer stock-lab music-lab blog-lab realestate-lab nginx scripts; do
for dir in backend travel-proxy deployer stock-lab music-lab blog-lab realestate-lab agent-office nginx scripts; do
rsync $RSYNC_OPTS "$SRC/$dir/" "$DST/$dir/" || {
rc=$?
if [ $rc -ne 23 ]; then
@@ -58,7 +58,7 @@ DEPLOY_GROUP="users"
DEPLOY_MODE="755"
echo "Setting ownership ${DEPLOY_USER}:${DEPLOY_GROUP} and mode ${DEPLOY_MODE}..."
for dir in backend travel-proxy deployer stock-lab music-lab blog-lab realestate-lab nginx scripts; do
for dir in backend travel-proxy deployer stock-lab music-lab blog-lab realestate-lab agent-office nginx scripts; do
chown -R "${DEPLOY_USER}:${DEPLOY_GROUP}" "$DST/$dir/" 2>/dev/null || true
chmod -R "$DEPLOY_MODE" "$DST/$dir/" 2>/dev/null || true
done