@etherdata-blockchain/remote-action
v5.0.3
Published
Remote ssh config file
Downloads
20
Readme
Remote Action
Run your ssh command with simple a configuration file
Available variable
- {index}: Current remote index
Available configs
export interface Config {
name: string;
remote: string[];
login: Login;
logger: Logger;
steps: Step[];
output: boolean;
}
export interface Logger {
output: string;
}
export interface Login {
username: string;
password: string;
}
export interface Step {
run?: string;
catch_err?: boolean;
files?: Directory[];
directory?: Directory;
env?: string[];
cwd?: string;
name?: string;
with_root?: boolean;
}
export interface Directory {
local: string;
remote: string;
}