/** * Deploy Command * * Deploys to specified environment by delegating to the pipeline plugin. * The pipeline plugin decides how to reach the stage (local vs SSH). * * ============================================================ * STAGE EXECUTION PATTERN * ============================================================ * See scan.ts for full documentation of how stages work. * * Key points: * - This file asks pipeline plugin canReach(stage) for each stage * - Pipeline decides if stage runs locally or via SSH * - When running on server (FACTIII_ON_SERVER=true), runs locally * ============================================================ */ import type { DeployOptions, DeployResult } from '../types/index.js'; /** * Deploy to a specified environment * * This command delegates to the pipeline plugin, which decides how to reach * the target stage based on canReach(): * - 'local': Execute deployment directly * - 'workflow': Trigger a workflow (e.g., GitHub Actions) * - Not reachable: Return error with reason */ export declare function deploy(environment: string, options?: DeployOptions): Promise; export default deploy; //# sourceMappingURL=deploy.d.ts.map