fix(workflow): finish deploy.yml
This commit is contained in:
@@ -6,7 +6,6 @@ on:
|
|||||||
- '*'
|
- '*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -29,14 +28,6 @@ jobs:
|
|||||||
uses: webfactory/ssh-agent@v0.9.0
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
|
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
|
|
||||||
- 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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user