Skip to content

Commit

Permalink
docs: upgrade to v0.1.7
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jan 8, 2023
1 parent d91a1af commit c1965dd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down Expand Up @@ -190,7 +190,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"

```yaml
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -203,7 +203,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
```yaml
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -216,7 +216,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
```yaml
- name: multiple command
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -233,7 +233,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
```diff
- name: multiple host
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
- host: "foo.com"
+ host: "foo.com,bar.com"
Expand All @@ -249,7 +249,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
```diff
- name: multiple host
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
- host: "foo.com"
+ host: "foo.com:1234,bar.com:5678"
Expand All @@ -264,7 +264,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
```diff
- name: multiple host
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: "foo.com,bar.com"
+ sync: true
Expand All @@ -280,7 +280,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
```diff
- name: pass environment
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
+ env:
+ FOO: "BAR"
+ BAR: "FOO"
Expand All @@ -305,7 +305,7 @@ _Inside `env` object, you need to pass every environment variable as a string, p

```diff
- name: stop script if command error
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down Expand Up @@ -358,7 +358,7 @@ Host FooServer

```diff
- name: ssh proxy command
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -381,7 +381,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an

```diff
- name: ssh key passphrase
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -407,7 +407,7 @@ Now you can adjust you config:

```diff
- name: ssh key passphrase
uses: appleboy/ssh-action@v0.1.6
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down

0 comments on commit c1965dd

Please sign in to comment.