Skip to content

Commit 69da04d

Browse files
author
Kroner
committed
fix6 pipeline - testing
1 parent ec79625 commit 69da04d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
# Добавляем сервер в known_hosts (замените your-server-ip)
8282
ssh-keyscan -T 10 ${{ secrets.SERVER_DNS }} >> ~/.ssh/known_hosts
8383
84+
- name: Test SSH connection
85+
run: |
86+
ssh -i ~/.ssh/webserver deployer@${{ secrets.SERVER_DNS }} exit
87+
8488
- name: Install ansible on runner
8589
run: pip install ansible
8690

0 commit comments

Comments
 (0)