update workflow
This commit is contained in:
@@ -29,6 +29,14 @@ jobs:
|
||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
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
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user