Skip to content

Update the Pipeline to test the ssh connection #50

Update the Pipeline to test the ssh connection

Update the Pipeline to test the ssh connection #50

Workflow file for this run

name: CI/CD - Crudzaso
on:
push:
branches: [ main ]
jobs:
test-connection:
runs-on: ubuntu-latest
steps:
- name: Test SSH Connection
uses: appleboy/ssh-action@v0.1.6
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: |
echo "Connection successful to ${{ secrets.SERVER_HOST }}"