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