-
-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bo-Yi.Wu <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: executing remote ssh commands using password | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -190,7 +190,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
|
||
```yaml | ||
- name: executing remote ssh commands using password | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -203,7 +203,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
```yaml | ||
- name: executing remote ssh commands using ssh key | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -216,7 +216,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
```yaml | ||
- name: multiple command | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -233,7 +233,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
```diff | ||
- name: multiple host | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
- host: "foo.com" | ||
+ host: "foo.com,bar.com" | ||
|
@@ -249,7 +249,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
```diff | ||
- name: multiple host | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
- host: "foo.com" | ||
+ host: "foo.com:1234,bar.com:5678" | ||
|
@@ -264,7 +264,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
```diff | ||
- name: multiple host | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: "foo.com,bar.com" | ||
+ sync: true | ||
|
@@ -280,7 +280,7 @@ ssh-keygen -t ed25519 -a 200 -C "[email protected]" | |
```diff | ||
- name: pass environment | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
+ env: | ||
+ FOO: "BAR" | ||
+ BAR: "FOO" | ||
|
@@ -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/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -358,7 +358,7 @@ Host FooServer | |
|
||
```diff | ||
- name: ssh proxy command | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -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/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|
@@ -407,7 +407,7 @@ Now you can adjust you config: | |
|
||
```diff | ||
- name: ssh key passphrase | ||
uses: appleboy/[email protected].7 | ||
uses: appleboy/[email protected].8 | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
|