Skip to content

Update deploy-main.yml #51

Update deploy-main.yml

Update deploy-main.yml #51

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.HOST_SERVER }}
username: ${{ secrets.USERNAME_SERVER }}
password: ${{ secrets.PASSWORD_SERVER }}
port: ${{ secrets.PORT_SERVER }}
script: |
echo "Connection successful to ${{ secrets.SERVER_HOST }}"