feat: add image project dashboard and canvas editor
Verify and deploy production / verify-and-deploy (push) Successful in 2m34s

This commit is contained in:
2026-10-05 15:20:43 +08:00
parent e961e3091b
commit 276a8ae473
12 changed files with 675 additions and 203 deletions
+2 -1
View File
@@ -61,13 +61,14 @@ jobs:
$SUDO useradd --system --home "$DATA_ROOT" --shell /usr/sbin/nologin "$SERVICE_USER"
fi
$SUDO mkdir -p "$APP_ROOT/releases" "$APP_ROOT/bin" "$DATA_ROOT/projects"
$SUDO mkdir -p "$APP_ROOT/releases" "$APP_ROOT/bin" "$DATA_ROOT/projects" "$DATA_ROOT/image-projects"
$SUDO install -m 0755 "$(command -v node)" "$APP_ROOT/bin/node"
$SUDO mkdir -p "$RELEASE_DIR/.next" "$RELEASE_DIR/data"
$SUDO cp -a .next/standalone/. "$RELEASE_DIR/"
$SUDO cp -a .next/static "$RELEASE_DIR/.next/static"
$SUDO cp -a templates vendor "$RELEASE_DIR/"
$SUDO ln -sfn "$DATA_ROOT/projects" "$RELEASE_DIR/data/projects"
$SUDO ln -sfn "$DATA_ROOT/image-projects" "$RELEASE_DIR/data/image-projects"
$SUDO chown -R root:root "$APP_ROOT"
$SUDO chown -R "$SERVICE_USER:$SERVICE_USER" "$DATA_ROOT"
$SUDO ln -sfn "$RELEASE_DIR" "$APP_ROOT/current"