SSH Test #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SSH Test | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| test-ssh: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check SSH connectivity | |
| uses: appleboy/ssh-action@v1.1.0 | |
| with: | |
| host: ${{ secrets.SERVER_HOST }} | |
| port: ${{ secrets.SERVER_PORT }} | |
| username: ${{ secrets.SERVER_USER }} | |
| key: ${{ secrets.SSH_PRIVATE_KEY }} | |
| script: | | |
| export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH" | |
| echo "✅ Connected to macOS via ngrok" | |
| docker --version |