Skip to content

Commit 1a1a3c1

Browse files
committed
ssh test
1 parent 8d9421a commit 1a1a3c1

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ssh-test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: SSH Test
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test-ssh:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check SSH connectivity
11+
uses: appleboy/ssh-action@v1.1.0
12+
with:
13+
host: ${{ secrets.SERVER_HOST }}
14+
port: ${{ secrets.SERVER_PORT }}
15+
username: ${{ secrets.SERVER_USER }}
16+
key: ${{ secrets.SSH_PRIVATE_KEY }}
17+
script: |
18+
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
19+
echo "✅ Connected to macOS via ngrok"
20+
docker --version

0 commit comments

Comments
 (0)