update workflow

This commit is contained in:
austnv
2026-06-21 17:16:08 +03:00
parent 89ffe3c50e
commit 0c825abad2
+8
View File
@@ -29,6 +29,14 @@ jobs:
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519 echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
- name: Debug SSH key
run: |
echo "Key content (first 50 chars):"
head -c 50 ~/.ssh/id_ed25519
echo ""
echo "Key permissions:"
ls -la ~/.ssh/id_ed25519
- name: Deploy via SCP - name: Deploy via SCP
run: | run: |