1
1
Fork 0
mirror of https://github.com/appleboy/ssh-action.git synced 2025-03-28 14:46:19 +01:00

(info) Pass env variable as string (#69)

This commit is contained in:
Yashu Mittal 2020-07-08 14:16:24 +05:30 committed by GitHub
parent e2cbea5f00
commit a2f91cbad1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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