Skip to content

Commit

Permalink
check ssh connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Unischneider committed Oct 24, 2024
1 parent fcd6ab7 commit ce76c0c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Test SSH Connection
uses: appleboy/[email protected]
with:
host: ${{ vars.VM_HOST }}
username: ${{ vars.VM_USERNAME }}
key: ${{ secrets.VM_SSH_PRIVATE_KEY }}
proxy_host: ${{ vars.DEPLOYMENT_GATEWAY_HOST }}
proxy_username: ${{ vars.DEPLOYMENT_GATEWAY_USER }}
proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }}
proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }}
command_timeout: 1m
script: |
echo "SSH connection successful!"
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit ce76c0c

Please sign in to comment.