deliverybot
Version:
Controls and configures deployments using the GitHub API.
32 lines (31 loc) • 752 B
TypeScript
export interface DeployBody {
auto_merge: boolean;
task: string;
payload: any;
environment: string;
description: string;
transient_environment: boolean;
production_environment: boolean;
required_contexts: string[];
}
export interface Target {
name: string;
auto_deploy_on: string;
auto_merge: boolean;
task: string;
payload: any;
environment: string;
description: string;
required_contexts: string[];
transient_environment: boolean;
production_environment: boolean;
}
export declare type Targets = {
[k: string]: Target | undefined;
};
export declare class ConfigError extends Error {
status: string;
}
export declare class LockError extends Error {
status: string;
}