update example.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/4/head
Bo-Yi Wu 6 years ago
parent a79592f0da
commit b2e4f0522d

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Loading…
Cancel
Save