mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	Testing isRequired for remoteCMD
This commit is contained in:
		
							parent
							
								
									3884c8554f
								
							
						
					
					
						commit
						e19f9271b6
					
				| @ -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…
	
		Reference in New Issue
	
	Block a user
	 Dylan Bryan
						Dylan Bryan