pub struct Project {Show 17 fields
pub id: i32,
pub name: String,
pub runner: Runner,
pub deployment_method: DeploymentMethod,
pub path: Option<String>,
pub repository: Option<String>,
pub description: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub kind: Option<String>,
pub source: Option<String>,
pub output: Option<String>,
pub package_manager: Option<String>,
pub pm2_app: Option<String>,
pub port: Option<u16>,
pub shared_lib: Option<String>,
pub compile_cmd: Option<String>,
}Fields§
§id: i32§name: String§runner: Runner§deployment_method: DeploymentMethodDefaults to Git when absent (older API responses won’t include the field).
path: Option<String>§repository: Option<String>§description: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§kind: Option<String>Deployment kind, e.g. “vite-spa”. Absent for server-side runners.
source: Option<String>Local source directory to build from, e.g. “frontend/connected-devices”.
Used by vite-spa deploys as the working directory for the build step.
Distinct from path, which is the remote destination on the server.
output: Option<String>Build output directory relative to source, e.g. “dist”.
package_manager: Option<String>Package manager to use for the build step, e.g. “pnpm”.
pm2_app: Option<String>PM2 process name to restart after a nextjs-ssr deploy, e.g. “my-app”.
Matches the name passed to pm2 start on the server.
port: Option<u16>Port the standalone server binds to (default: 3000). Must match nginx upstream configuration.
Path to a shared lib directory to rsync to the server before deploying, e.g. “lib”. Used by Rails apps that depend on native gems built from monorepo-level source. Relative to the repo root.
compile_cmd: Option<String>SSH command to run on the server after rsyncing the shared lib, e.g. “cd ~/lib/gems/gem_error_codes && rbenv local 3.4.2 && bundle install && bundle exec rake compile”.