Ajouter ping.yml

This commit is contained in:
moham committed 2025-09-17 15:46:13 +02:00
1 parent 259ccfd0ce
commit 69568f545a
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
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"