mirror of
				https://github.com/appleboy/ssh-action.git
				synced 2025-10-31 00:10:11 +08:00 
			
		
		
		
	chore: support multiple command
This commit is contained in:
		
							parent
							
								
									917a1df2a4
								
							
						
					
					
						commit
						1a6f86cece
					
				
							
								
								
									
										11
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -23,3 +23,14 @@ jobs: | |||||||
|         key: ${{ secrets.KEY }} |         key: ${{ secrets.KEY }} | ||||||
|         port: ${{ secrets.PORT }} |         port: ${{ secrets.PORT }} | ||||||
|         script: whoami |         script: whoami | ||||||
|  | 
 | ||||||
|  |     - name: multiple command | ||||||
|  |       uses: appleboy/ssh-action@master | ||||||
|  |       with: | ||||||
|  |         host: ${{ secrets.HOST }} | ||||||
|  |         username: ${{ secrets.USERNAME }} | ||||||
|  |         key: ${{ secrets.KEY }} | ||||||
|  |         port: ${{ secrets.PORT }} | ||||||
|  |         script: > | ||||||
|  |           whoami | ||||||
|  |           ls -al | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Bo-Yi Wu
						Bo-Yi Wu