mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-25 11:39:36 +01:00
(info) Pass env variable as string (#69)
This commit is contained in:
parent
e2cbea5f00
commit
a2f91cbad1
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue