mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-03-28 14:46:19 +01:00
updated readme envs option in example
#### Pass environment variable to shell script there is an env used in scripts option that was not passed in the envs option
This commit is contained in:
parent
dce9d565de
commit
e0538314b3
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ See the detail information about [SSH login without password](http://www.linuxpr
|
|||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
+ envs: FOO,BAR
|
||||
+ envs: FOO,BAR,SHA
|
||||
script: |
|
||||
echo "I am $FOO"
|
||||
echo "I am $BAR"
|
||||
|
|
Loading…
Add table
Reference in a new issue