mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-12-19 20:29:05 +00:00
chore: update docs
This commit is contained in:
parent
ef697c0ac1
commit
533a062133
@ -62,7 +62,7 @@ Executing remote ssh commands using password.
|
|||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: whoam
|
script: whoami
|
||||||
```
|
```
|
||||||
|
|
||||||
Using private key
|
Using private key
|
||||||
@ -113,7 +113,6 @@ Multiple Hosts
|
|||||||
Pass environment variable to shell script
|
Pass environment variable to shell script
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
- name: pass environment
|
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
+ env:
|
+ env:
|
||||||
+ FOO: "BAR"
|
+ FOO: "BAR"
|
||||||
|
Loading…
Reference in New Issue
Block a user