mirror of
				https://github.com/appleboy/ssh-action.git
				synced 2025-10-31 16:23:52 +00:00 
			
		
		
		
	docs: update SSH action version to v1 in all README files (#372)
- Update 'appleboy/ssh-action' version from 'v1.2.2' to 'v1' in various locations in the README.md file - Update 'appleboy/ssh-action' version from 'v1.2.2' to 'v1' in various locations in README.zh-cn.md - Update 'appleboy/ssh-action' version from 'v1.2.2' to 'v1' in various locations in README.zh-tw.md Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									2b3c6504b3
								
							
						
					
					
						commit
						52a1840ca6
					
				
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							| @ -65,7 +65,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: executing remote ssh commands using password |       - name: executing remote ssh commands using password | ||||||
|         uses: appleboy/ssh-action@v1.2.2 |         uses: appleboy/ssh-action@v1 | ||||||
|         with: |         with: | ||||||
|           host: ${{ secrets.HOST }} |           host: ${{ secrets.HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -183,7 +183,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: executing remote ssh commands using password | - name: executing remote ssh commands using password | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -196,7 +196,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: executing remote ssh commands using ssh key | - name: executing remote ssh commands using ssh key | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -209,7 +209,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: multiple command | - name: multiple command | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -226,7 +226,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: file commands | - name: file commands | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -239,7 +239,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
| -     host: "foo.com" | -     host: "foo.com" | ||||||
| +     host: "foo.com,bar.com" | +     host: "foo.com,bar.com" | ||||||
| @ -257,7 +257,7 @@ The default value of `port` is `22`. | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
| -     host: "foo.com" | -     host: "foo.com" | ||||||
| +     host: "foo.com:1234,bar.com:5678" | +     host: "foo.com:1234,bar.com:5678" | ||||||
| @ -272,7 +272,7 @@ The default value of `port` is `22`. | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: "foo.com,bar.com" |       host: "foo.com,bar.com" | ||||||
| +     sync: true | +     sync: true | ||||||
| @ -288,7 +288,7 @@ The default value of `port` is `22`. | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: pass environment |   - name: pass environment | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
| +   env: | +   env: | ||||||
| +     FOO: "BAR" | +     FOO: "BAR" | ||||||
| +     BAR: "FOO" | +     BAR: "FOO" | ||||||
| @ -335,7 +335,7 @@ Host FooServer | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh proxy command |   - name: ssh proxy command | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
| @ -358,7 +358,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh key passphrase |   - name: ssh key passphrase | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
| @ -384,7 +384,7 @@ Now you can adjust you config: | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh key passphrase |   - name: ssh key passphrase | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
|  | |||||||
| @ -65,7 +65,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: executing remote ssh commands using password |       - name: executing remote ssh commands using password | ||||||
|         uses: appleboy/ssh-action@v1.2.2 |         uses: appleboy/ssh-action@v1 | ||||||
|         with: |         with: | ||||||
|           host: ${{ secrets.HOST }} |           host: ${{ secrets.HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -183,7 +183,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: executing remote ssh commands using password | - name: executing remote ssh commands using password | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -196,7 +196,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: executing remote ssh commands using ssh key | - name: executing remote ssh commands using ssh key | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -209,7 +209,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: multiple command | - name: multiple command | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -226,7 +226,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: file commands | - name: file commands | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -239,7 +239,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
| -     host: "foo.com" | -     host: "foo.com" | ||||||
| +     host: "foo.com,bar.com" | +     host: "foo.com,bar.com" | ||||||
| @ -257,7 +257,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
| -     host: "foo.com" | -     host: "foo.com" | ||||||
| +     host: "foo.com:1234,bar.com:5678" | +     host: "foo.com:1234,bar.com:5678" | ||||||
| @ -272,7 +272,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: "foo.com,bar.com" |       host: "foo.com,bar.com" | ||||||
| +     sync: true | +     sync: true | ||||||
| @ -288,7 +288,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: pass environment |   - name: pass environment | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
| +   env: | +   env: | ||||||
| +     FOO: "BAR" | +     FOO: "BAR" | ||||||
| +     BAR: "FOO" | +     BAR: "FOO" | ||||||
| @ -335,7 +335,7 @@ Host FooServer | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh proxy command |   - name: ssh proxy command | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
| @ -356,7 +356,7 @@ Host FooServer | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh key passphrase |   - name: ssh key passphrase | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
| @ -382,7 +382,7 @@ ssh example.com ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub | cut -d ' ' | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh key passphrase |   - name: ssh key passphrase | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
|  | |||||||
| @ -65,7 +65,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: executing remote ssh commands using password |       - name: executing remote ssh commands using password | ||||||
|         uses: appleboy/ssh-action@v1.2.2 |         uses: appleboy/ssh-action@v1 | ||||||
|         with: |         with: | ||||||
|           host: ${{ secrets.HOST }} |           host: ${{ secrets.HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -181,7 +181,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: executing remote ssh commands using password | - name: executing remote ssh commands using password | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -194,7 +194,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: executing remote ssh commands using ssh key | - name: executing remote ssh commands using ssh key | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -207,7 +207,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: multiple command | - name: multiple command | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -224,7 +224,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| - name: file commands | - name: file commands | ||||||
|   uses: appleboy/ssh-action@v1.2.2 |   uses: appleboy/ssh-action@v1 | ||||||
|   with: |   with: | ||||||
|     host: ${{ secrets.HOST }} |     host: ${{ secrets.HOST }} | ||||||
|     username: ${{ secrets.USERNAME }} |     username: ${{ secrets.USERNAME }} | ||||||
| @ -237,7 +237,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
| -     host: "foo.com" | -     host: "foo.com" | ||||||
| +     host: "foo.com,bar.com" | +     host: "foo.com,bar.com" | ||||||
| @ -253,7 +253,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
| -     host: "foo.com" | -     host: "foo.com" | ||||||
| +     host: "foo.com:1234,bar.com:5678" | +     host: "foo.com:1234,bar.com:5678" | ||||||
| @ -268,7 +268,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: multiple host |   - name: multiple host | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: "foo.com,bar.com" |       host: "foo.com,bar.com" | ||||||
| +     sync: true | +     sync: true | ||||||
| @ -284,7 +284,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com" | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: pass environment |   - name: pass environment | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
| +   env: | +   env: | ||||||
| +     FOO: "BAR" | +     FOO: "BAR" | ||||||
| +     BAR: "FOO" | +     BAR: "FOO" | ||||||
| @ -331,7 +331,7 @@ Host FooServer | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh proxy command |   - name: ssh proxy command | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
| @ -352,7 +352,7 @@ Host FooServer | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh key passphrase |   - name: ssh key passphrase | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
| @ -378,7 +378,7 @@ ssh example.com ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub | cut -d ' ' | |||||||
| 
 | 
 | ||||||
| ```diff | ```diff | ||||||
|   - name: ssh key passphrase |   - name: ssh key passphrase | ||||||
|     uses: appleboy/ssh-action@v1.2.2 |     uses: appleboy/ssh-action@v1 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user