update example.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2019-05-15 06:36:27 +08:00
parent a79592f0da
commit b2e4f0522d
3 changed files with 4 additions and 2 deletions

View File

@ -9,10 +9,10 @@ action "Executing remote ssh commands" {
uses = "appleboy/ssh-action@master"
secrets = [
"HOST",
"USERNAME",
"PASSWORD",
]
args = [
"--user", "actions",
"--script", "whoami",
]
}

View File

@ -2,9 +2,11 @@
[GitHub Action](https://developer.github.com/actions/) for executing remote ssh commands.
<img src="./images/ssh-workflow.png">
## Usage
copy files and artifacts via SSH as blow.
Executing remote ssh commands.
```
action "Copy multiple file" {

BIN
images/ssh-workflow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB