mirror of
				https://github.com/appleboy/scp-action.git
				synced 2025-10-31 19:43:48 +00:00 
			
		
		
		
	chore: add default timeout
This commit is contained in:
		
							parent
							
								
									03e93ae863
								
							
						
					
					
						commit
						f0de4fea6f
					
				
							
								
								
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -16,6 +16,4 @@ jobs: | ||||
|         PORT: ${{ secrets.PORT }} | ||||
|       with: | ||||
|         source: "tests/a.txt,tests/b.txt" | ||||
|         target: "/home/deploy/test" | ||||
|         timeout: 30s | ||||
|         command_timeout: 30s | ||||
|         target: "test" | ||||
|  | ||||
| @ -4,4 +4,7 @@ set -eu | ||||
| 
 | ||||
| export GITHUB="true" | ||||
| 
 | ||||
| [ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" | ||||
| [ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" | ||||
| 
 | ||||
| sh -c "/bin/drone-scp $*" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user