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
|
||||||
@@ -30,14 +29,6 @@ jobs:
|
|||||||
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: |
|
||||||
tar -czf frontend.tar.gz -C dist .
|
tar -czf frontend.tar.gz -C dist .
|
||||||
|
|||||||
Reference in New Issue
Block a user