You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			514 B
		
	
	
	
		
			YAML
		
	
			
		
		
	
	
			22 lines
		
	
	
		
			514 B
		
	
	
	
		
			YAML
		
	
name: scp files
 | 
						|
on: [push]
 | 
						|
jobs:
 | 
						|
 | 
						|
  build:
 | 
						|
    name: Build
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - uses: actions/checkout@master
 | 
						|
    - name: copy file via ssh password
 | 
						|
      uses: appleboy/scp-action@master
 | 
						|
      env:
 | 
						|
        HOST: ${{ secrets.HOST }}
 | 
						|
        USERNAME: ${{ secrets.USERNAME }}
 | 
						|
        PASSWORD: ${{ secrets.PASSWORD }}
 | 
						|
        PORT: ${{ secrets.PORT }}
 | 
						|
      with:
 | 
						|
        source: "tests/a.txt,tests/b.txt"
 | 
						|
        target: "/home/deploy/test"
 | 
						|
        timeout: 30s
 | 
						|
        command_timeout: 30s
 |