test
All checks were successful
/ SSH connection tests (push) Successful in 1s

This commit is contained in:
Yann Kervran 2024-04-19 11:02:16 +02:00
parent 5b17cc4b3e
commit b21fecee28

View file

@ -47,4 +47,7 @@ jobs:
ssh-keyscan -p ${{ secrets.SSH_PORT }} -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts ssh-keyscan -p ${{ secrets.SSH_PORT }} -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
- name: Connect and check - name: Connect and check
run: | run: |
ssh -i ~/.ssh/id_rsa -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "ls -al" ssh -i ~/.ssh/id_rsa -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "ls -al"
- name: Create a file
run: |
touch CD_TEST.txt