mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-11-23 06:16:10 +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"
|
||||
```
|
||||
|
||||
_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
|
||||
|
||||
```diff
|
||||
|
Loading…
Reference in New Issue
Block a user