UNPKG

@webda/shell

Version:

Deploy a Webda app or configure it

25 lines (24 loc) 639 B
import { DeployerResources } from "@webda/core"; import { Deployer } from "./deployer.js"; export interface ChainDeployerResources extends DeployerResources { chain: string | string[]; [x: string]: any; } /** * Run a list of Deployer * * @WebdaDeployer WebdaDeployer/ChainDeployer */ export default class ChainDeployer extends Deployer<ChainDeployerResources> { /** * * @returns current chain */ getChain(): string[]; /** * Deploy each deployer from the chain, adding any results sent by previous * deployers to the next one */ deploy(): Promise<void>; } export { ChainDeployer };