mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-11-26 17:56:10 +08:00
update example.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
a79592f0da
commit
b2e4f0522d
2
.github/main.workflow
vendored
2
.github/main.workflow
vendored
@ -9,10 +9,10 @@ action "Executing remote ssh commands" {
|
||||
uses = "appleboy/ssh-action@master"
|
||||
secrets = [
|
||||
"HOST",
|
||||
"USERNAME",
|
||||
"PASSWORD",
|
||||
]
|
||||
args = [
|
||||
"--user", "actions",
|
||||
"--script", "whoami",
|
||||
]
|
||||
}
|
||||
|
@ -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
BIN
images/ssh-workflow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
Loading…
Reference in New Issue
Block a user