mirror of
				https://github.com/appleboy/scp-action.git
				synced 2025-10-31 15:43:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			312 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			312 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
| workflow "Copy File Via SSH" {
 | |
|   on = "push"
 | |
|   resolves = [
 | |
|     "Copy multiple file",
 | |
|   ]
 | |
| }
 | |
| 
 | |
| action "Copy multiple file" {
 | |
|   uses = "appleboy/scp-action@master"
 | |
|   env = {
 | |
|     SOURCE = "tests/a.txt,tests/b.txt"
 | |
|     TARGET = "/home/actions/test"
 | |
|   }
 | |
|   secrets = [
 | |
|     "HOST",
 | |
|     "USERNAME",
 | |
|     "PASSWORD",
 | |
|   ]
 | |
| }
 |