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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user