Skip to content

Commit

Permalink
ci: enhance CI pipeline with SSH key handling improvements
Browse files Browse the repository at this point in the history
- 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 <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jun 5, 2024
1 parent e40b597 commit 15b64dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ssh-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,15 @@ jobs:
script: |
whoami
ls -al
- name: missing ssh key passphrase
uses: appleboy/ssh-action@v1.0.3
continue-on-error: true
with:
host: ${{ env.REMOTE_HOST }}
username: linuxserver.io
key: ${{ env.PRIVATE_KEY }}
port: 2222
script: |
whoami
ls -al

0 comments on commit 15b64dc

Please sign in to comment.