mirror of
https://github.com/appleboy/ssh-action.git
synced 2026-01-21 01:58:53 +08: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 }}
|
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…
Add table
Add a link
Reference in a new issue