fix(CD): forgot to add server ip

This commit is contained in:
Leons Aleksandrovs
2025-07-14 13:50:12 +03:00
parent 3a571c8444
commit 84dcd1d037

View File

@@ -21,7 +21,7 @@ jobs:
- name: Add Server to Known Hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan -H your_server_ip >> ~/.ssh/known_hosts # Replace with your server's IP
ssh-keyscan -H ${{ secrets.SSH_SERVER }} >> ~/.ssh/known_hosts # Replace with your server's IP
chmod 600 ~/.ssh/known_hosts
- name: Deploy via SSH