fix(backend): enhance sequence discovery from sister website directories and sync in post-receive

This commit is contained in:
Your Name committed 2026-10-17 11:26:29 +07:00
1 parent 0bf544720b
commit ca79692b3e
3 files changed
+106 -45

No files matched your search

+4
View File
@@ -90,6 +90,10 @@ $BUN install
# สร้าง public/ folder สำหรับ static files (upload images)
mkdir -p $TARGET_BACKEND/apps/backend/public
if [ -d "$TEMP_DIR/apps/backend/public/frame-sequences" ]; then
mkdir -p $TARGET_BACKEND/apps/backend/public/frame-sequences
rsync -av "$TEMP_DIR/apps/backend/public/frame-sequences/" "$TARGET_BACKEND/apps/backend/public/frame-sequences/"
fi
cd $TARGET_BACKEND/apps/backend