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" uses = "appleboy/ssh-action@master"
secrets = [ secrets = [
"HOST", "HOST",
"USERNAME",
"PASSWORD", "PASSWORD",
] ]
args = [ args = [
"--user", "actions",
"--script", "whoami", "--script", "whoami",
] ]
} }

View file

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

BIN
images/ssh-workflow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB