mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-04-28 19:00:44 -04:00
Testing isRequired for remoteCMD
This commit is contained in:
parent
3884c8554f
commit
e19f9271b6
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ const run = async () => {
|
|||
}
|
||||
// Check Script before
|
||||
if (scriptBefore) {
|
||||
await remoteCmdBefore(scriptBefore, privateKeyPath);
|
||||
await remoteCmdBefore(scriptBefore, privateKeyPath, true);
|
||||
}
|
||||
/* eslint-disable object-property-newline */
|
||||
await sshDeploy({
|
||||
|
@ -33,7 +33,7 @@ const run = async () => {
|
|||
});
|
||||
// Check script after
|
||||
if (scriptAfter) {
|
||||
await remoteCmdAfter(scriptAfter, privateKeyPath);
|
||||
await remoteCmdAfter(scriptAfter, privateKeyPath, true);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue