UNPKG

auto-deploy-sh

Version:
32 lines (31 loc) 939 B
import type { sshConfig } from './type/types'; import type { Options } from 'execa'; import type { NodeSSH } from 'node-ssh'; export declare class Deploy { config: sshConfig; context: string; uploadFileName: string; remotePath: string; REMOTEAPPPATH: string; constructor(config: sshConfig, context: string); runCommon(_options: { command: string; context?: string; options?: Options; args?: string[]; }, std: { startMsg: string; succMsg: string; errMsg: string; }): Promise<void>; preBeforeRelease(): Promise<void>; compressFiles(): Promise<void>; uploadSSH(ssh: NodeSSH): Promise<void>; execCommand(ssh: NodeSSH, std: { startMsg: string; succMsg: string; errMsg?: string; }, command: string): Promise<void>; dockcerImageBuild(ssh: NodeSSH): Promise<void>; clear(ssh: NodeSSH): Promise<void>; }