Files
client160_IHMKOS/ping.yml
T
2025-09-17 15:46:13 +02:00

18 lines
421 B
YAML

name: ping-ssh
on: [push]
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: SSH ping
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: |
whoami
hostname
echo "CI->SSH OK"