mirror of
				https://github.com/appleboy/ssh-action.git
				synced 2025-10-31 16:23:52 +00:00 
			
		
		
		
	chore: update action version across workflows and documentation
- Update the version of `appleboy/ssh-action` from `v1.2.1` to `v1.2.2` in multiple files - Modify the bug report template to reflect the updated action version - Change the action version in the stable workflow file - Adjust the action version in the README files for consistency across documentation - Ensure the action version is updated in both Chinese language README files Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									a0a0326939
								
							
						
					
					
						commit
						2ead5e3657
					
				
							
								
								
									
										2
									
								
								.github/ISSUE_TEMPLATE/bug_report.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/ISSUE_TEMPLATE/bug_report.md
									
									
									
									
										vendored
									
									
								
							| @ -23,7 +23,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.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ secrets.HOST }} |           host: ${{ secrets.HOST }} | ||||||
|           username: ${{ secrets.USERNAME }} |           username: ${{ secrets.USERNAME }} | ||||||
|  | |||||||
							
								
								
									
										32
									
								
								.github/workflows/stable.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								.github/workflows/stable.yml
									
									
									
									
										vendored
									
									
								
							| @ -31,7 +31,7 @@ jobs: | |||||||
|           sleep 2 |           sleep 2 | ||||||
| 
 | 
 | ||||||
|       - name: ssh by username and password |       - name: ssh by username and password | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -43,7 +43,7 @@ jobs: | |||||||
|             whoami |             whoami | ||||||
| 
 | 
 | ||||||
|       - name: ssh commands from a file |       - name: ssh commands from a file | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -95,7 +95,7 @@ jobs: | |||||||
|           sleep 2 |           sleep 2 | ||||||
| 
 | 
 | ||||||
|       - name: ssh by private key |       - name: ssh by private key | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -104,7 +104,7 @@ jobs: | |||||||
|           script: whoami |           script: whoami | ||||||
| 
 | 
 | ||||||
|       - name: wrong password but correct key |       - name: wrong password but correct key | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -114,7 +114,7 @@ jobs: | |||||||
|           script: whoami |           script: whoami | ||||||
| 
 | 
 | ||||||
|       - name: correct password but wrong key |       - name: correct password but wrong key | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -167,7 +167,7 @@ jobs: | |||||||
|           sleep 2 |           sleep 2 | ||||||
| 
 | 
 | ||||||
|       - name: ssh key passphrase |       - name: ssh key passphrase | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -179,7 +179,7 @@ jobs: | |||||||
|             ls -al |             ls -al | ||||||
| 
 | 
 | ||||||
|       - name: missing ssh key passphrase |       - name: missing ssh key passphrase | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         continue-on-error: true |         continue-on-error: true | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
| @ -192,7 +192,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       # https://github.com/appleboy/ssh-action/issues/75#issuecomment-668314271 |       # https://github.com/appleboy/ssh-action/issues/75#issuecomment-668314271 | ||||||
|       - name: Multiline SSH commands interpreted as single lines |       - name: Multiline SSH commands interpreted as single lines | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -269,7 +269,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       # https://github.com/appleboy/ssh-action/issues/85 |       # https://github.com/appleboy/ssh-action/issues/85 | ||||||
|       - name: Deployment to multiple hosts with different ports |       - name: Deployment to multiple hosts with different ports | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: "${{ env.REMOTE_HOST_01 }}:2222,${{ env.REMOTE_HOST_02 }}:2222" |           host: "${{ env.REMOTE_HOST_01 }}:2222,${{ env.REMOTE_HOST_02 }}:2222" | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -322,7 +322,7 @@ jobs: | |||||||
|           sleep 2 |           sleep 2 | ||||||
| 
 | 
 | ||||||
|       - name: testing id_ed25519 key |       - name: testing id_ed25519 key | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -375,7 +375,7 @@ jobs: | |||||||
|           sleep 2 |           sleep 2 | ||||||
| 
 | 
 | ||||||
|       - name: testing id_ed25519 key |       - name: testing id_ed25519 key | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
| @ -386,7 +386,7 @@ jobs: | |||||||
|             ls -al |             ls -al | ||||||
| 
 | 
 | ||||||
|       - name: pass environment |       - name: pass environment | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         env: |         env: | ||||||
|           FOO: "BAR" |           FOO: "BAR" | ||||||
|         with: |         with: | ||||||
| @ -400,7 +400,7 @@ jobs: | |||||||
|             echo "I am $BAR, thanks" |             echo "I am $BAR, thanks" | ||||||
| 
 | 
 | ||||||
|       - name: pass multiple environment |       - name: pass multiple environment | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         env: |         env: | ||||||
|           FOO: "BAR" |           FOO: "BAR" | ||||||
|           BAR: "FOO" |           BAR: "FOO" | ||||||
| @ -419,7 +419,7 @@ jobs: | |||||||
|             echo "port: $PORT" |             echo "port: $PORT" | ||||||
| 
 | 
 | ||||||
|       - name: custom envs format |       - name: custom envs format | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         env: |         env: | ||||||
|           FOO: "BAR" |           FOO: "BAR" | ||||||
|           AAA: "BBB" |           AAA: "BBB" | ||||||
| @ -437,7 +437,7 @@ jobs: | |||||||
|             echo "I am $TEST_AAA, thanks" |             echo "I am $TEST_AAA, thanks" | ||||||
| 
 | 
 | ||||||
|       - name: pass all ENV variables to script |       - name: pass all ENV variables to script | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         env: |         env: | ||||||
|           INPUT_FOO: "BAR" |           INPUT_FOO: "BAR" | ||||||
|           INPUT_AAA: "BBB" |           INPUT_AAA: "BBB" | ||||||
| @ -454,7 +454,7 @@ jobs: | |||||||
|             echo "$GITHUB_REF" |             echo "$GITHUB_REF" | ||||||
| 
 | 
 | ||||||
|       - name: switch to root user |       - name: switch to root user | ||||||
|         uses: appleboy/ssh-action@v1.2.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         with: |         with: | ||||||
|           host: ${{ env.REMOTE_HOST }} |           host: ${{ env.REMOTE_HOST }} | ||||||
|           username: linuxserver.io |           username: linuxserver.io | ||||||
|  | |||||||
							
								
								
									
										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.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
| +   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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
| +   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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |         uses: appleboy/ssh-action@v1.2.2 | ||||||
|         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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |   uses: appleboy/ssh-action@v1.2.2 | ||||||
|   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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
| +   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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     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.1 |     uses: appleboy/ssh-action@v1.2.2 | ||||||
|     with: |     with: | ||||||
|       host: ${{ secrets.HOST }} |       host: ${{ secrets.HOST }} | ||||||
|       username: ${{ secrets.USERNAME }} |       username: ${{ secrets.USERNAME }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user