Skip to content

Commit

Permalink
chore: update SSH action version in README files
Browse files Browse the repository at this point in the history
- Update the version of the `appleboy/ssh-action` from `v1.0.2` to `v1.0.3` in the README.md file
- Update the version of the `appleboy/ssh-action` from `v1.0.2` to `v1.0.3` in the README.zh-tw.md file

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Jan 7, 2024
1 parent 029f5b4 commit 9b978f0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down Expand Up @@ -165,7 +165,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"

```yaml
- name: executing remote ssh commands using password
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -178,7 +178,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```yaml
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -191,7 +191,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```yaml
- name: multiple command
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -208,7 +208,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: multiple host
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
- host: "foo.com"
+ host: "foo.com,bar.com"
Expand All @@ -224,7 +224,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: multiple host
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
- host: "foo.com"
+ host: "foo.com:1234,bar.com:5678"
Expand All @@ -239,7 +239,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: multiple host
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: "foo.com,bar.com"
+ sync: true
Expand All @@ -255,7 +255,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: pass environment
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
+ env:
+ FOO: "BAR"
+ BAR: "FOO"
Expand All @@ -280,7 +280,7 @@ _Inside `env` object, you need to pass every environment variable as a string, p

```diff
- name: stop script if command error
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down Expand Up @@ -333,7 +333,7 @@ Host FooServer

```diff
- name: ssh proxy command
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -356,7 +356,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an

```diff
- name: ssh key passphrase
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -382,7 +382,7 @@ Now you can adjust you config:

```diff
- name: ssh key passphrase
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down
24 changes: 12 additions & 12 deletions README.zh-tw.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/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down Expand Up @@ -157,7 +157,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"

```yaml
- name: executing remote ssh commands using password
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -170,7 +170,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```yaml
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -183,7 +183,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```yaml
- name: multiple command
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -200,7 +200,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: multiple host
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
- host: "foo.com"
+ host: "foo.com,bar.com"
Expand All @@ -216,7 +216,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: multiple host
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
- host: "foo.com"
+ host: "foo.com:1234,bar.com:5678"
Expand All @@ -231,7 +231,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: multiple host
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: "foo.com,bar.com"
+ sync: true
Expand All @@ -247,7 +247,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]"
```diff
- name: pass environment
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
+ env:
+ FOO: "BAR"
+ BAR: "FOO"
Expand All @@ -272,7 +272,7 @@ _在 `env` 對象中,您需要將每個環境變量作為字符串傳遞,傳

```diff
- name: stop script if command error
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down Expand Up @@ -325,7 +325,7 @@ Host FooServer

```diff
- name: ssh proxy command
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -346,7 +346,7 @@ Host FooServer

```diff
- name: ssh key passphrase
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand All @@ -372,7 +372,7 @@ ssh example.com ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub | cut -d ' '

```diff
- name: ssh key passphrase
uses: appleboy/[email protected].2
uses: appleboy/[email protected].3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
Expand Down

0 comments on commit 9b978f0

Please sign in to comment.