Skip to content

Commit

Permalink
support password login
Browse files Browse the repository at this point in the history
  • Loading branch information
fifsky committed Sep 27, 2019
1 parent 2e6a6ab commit 7b491eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
ls -a
host: ${{ secrets.HOST }}
user: root
# key: ${{ secrets.PRIVATE_KEY}}
pass: ${{ secrets.PASS }}
key: ${{ secrets.PRIVATE_KEY}}
# pass: ${{ secrets.PASS }}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Simple GitHub Action to run a command on a remote server using SSH. This is working with the latest [GitHub Actions](https://github.com/features/actions).

**⚠️Only support private key**
⭐️ SSH password are supported from version 0.0.3

## ✨ Example Usage

Expand Down Expand Up @@ -40,6 +40,9 @@ Check out [the workflow example](.github/workflows/test.yml) for a minimalistic

- **key** - _string_ - Required, that contains a private key for either key-based or hostbased user authentication (OpenSSH format). **Default:** (none)

- **pass** - _string_ - Password for authentication.

> Password and Private Key can only be configured one item

## Tips

Expand Down

0 comments on commit 7b491eb

Please sign in to comment.