mirror of
				https://github.com/appleboy/ssh-action.git
				synced 2025-10-31 19:23:52 +00:00 
			
		
		
		
	docs: update multiple env example
This commit is contained in:
		
							parent
							
								
									f478af9b34
								
							
						
					
					
						commit
						d690bdebf8
					
				| @ -136,12 +136,13 @@ Pass environment variable to shell script | ||||
|     uses: appleboy/ssh-action@master | ||||
| +   env: | ||||
| +     FOO: "BAR" | ||||
| +     BAR: "FOO" | ||||
|     with: | ||||
|       host: ${{ secrets.HOST }} | ||||
|       username: ${{ secrets.USERNAME }} | ||||
|       key: ${{ secrets.KEY }} | ||||
|       port: ${{ secrets.PORT }} | ||||
| +     envs: FOO | ||||
| +     envs: FOO,BAR | ||||
|       script: | | ||||
|         echo "I am $FOO" | ||||
|         echo "I am $BAR" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user