mirror of
https://githubfast.com/appleboy/ssh-action
synced 2024-10-31 15:46:30 +00: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
@ -269,7 +269,7 @@ See the detail information about [SSH login without password](http://www.linuxpr
|
|||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
key: ${{ secrets.KEY }}
|
key: ${{ secrets.KEY }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
+ envs: FOO,BAR
|
+ envs: FOO,BAR,SHA
|
||||||
script: |
|
script: |
|
||||||
echo "I am $FOO"
|
echo "I am $FOO"
|
||||||
echo "I am $BAR"
|
echo "I am $BAR"
|
||||||
|
Loading…
Reference in New Issue
Block a user