diff --git a/.github/main.workflow b/.github/main.workflow index 655fdee..51ac436 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -9,10 +9,10 @@ action "Executing remote ssh commands" { uses = "appleboy/ssh-action@master" secrets = [ "HOST", - "USERNAME", "PASSWORD", ] args = [ + "--user", "actions", "--script", "whoami", ] } diff --git a/README.md b/README.md index f1c2531..09a287f 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,11 @@ [GitHub Action](https://developer.github.com/actions/) for executing remote ssh commands. + + ## Usage -copy files and artifacts via SSH as blow. +Executing remote ssh commands. ``` action "Copy multiple file" { diff --git a/images/ssh-workflow.png b/images/ssh-workflow.png new file mode 100644 index 0000000..9f2b541 Binary files /dev/null and b/images/ssh-workflow.png differ