Skip to content

Commit 15b64dc

Browse files
committed
ci: enhance CI pipeline with SSH key handling improvements
- Add a job to handle missing SSH key passphrase with `appleboy/ssh-action` and `continue-on-error` set to true Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent e40b597 commit 15b64dc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ssh-server.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,15 @@ jobs:
181181
script: |
182182
whoami
183183
ls -al
184+
185+
- name: missing ssh key passphrase
186+
uses: appleboy/[email protected]
187+
continue-on-error: true
188+
with:
189+
host: ${{ env.REMOTE_HOST }}
190+
username: linuxserver.io
191+
key: ${{ env.PRIVATE_KEY }}
192+
port: 2222
193+
script: |
194+
whoami
195+
ls -al

0 commit comments

Comments
 (0)