Testing isRequired for remoteCMD

This commit is contained in:
Dylan Bryan 2023-04-18 11:58:33 -04:00
parent 3884c8554f
commit e19f9271b6

View File

@ -24,7 +24,7 @@ const run = async () => {
} }
// Check Script before // Check Script before
if (scriptBefore) { if (scriptBefore) {
await remoteCmdBefore(scriptBefore, privateKeyPath); await remoteCmdBefore(scriptBefore, privateKeyPath, true);
} }
/* eslint-disable object-property-newline */ /* eslint-disable object-property-newline */
await sshDeploy({ await sshDeploy({
@ -33,7 +33,7 @@ const run = async () => {
}); });
// Check script after // Check script after
if (scriptAfter) { if (scriptAfter) {
await remoteCmdAfter(scriptAfter, privateKeyPath); await remoteCmdAfter(scriptAfter, privateKeyPath, true);
} }
}; };