mirror of
				https://github.com/appleboy/ssh-action.git
				synced 2025-10-31 00:10:11 +08:00 
			
		
		
		
	(info) Pass env variable as string (#69)
This commit is contained in:
		
							parent
							
								
									e2cbea5f00
								
							
						
					
					
						commit
						a2f91cbad1
					
				| @ -177,6 +177,8 @@ Pass environment variable to shell script | |||||||
|         echo "sha: $SHA" |         echo "sha: $SHA" | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | _Inside `env` object, you need to pass every environment variable as a string, passing `Integer` data type or any other may output unexpected results._ | ||||||
|  | 
 | ||||||
| Stop script after first failure. ex: missing `abc` folder | Stop script after first failure. ex: missing `abc` folder | ||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Yashu Mittal
						Yashu Mittal