fix: use webhook instead of SSH
Deploy / deploy (push) Failing after 0s

This commit is contained in:
2026-06-11 09:42:56 +00:00
parent d5393d5db0
commit b974589693
+2 -2
View File
@@ -6,6 +6,6 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Deploy via SSH - name: Trigger webhook
run: | run: |
ssh -o StrictHostKeyChecking=no root@192.168.1.112 "/opt/deploy-shop.sh server main" curl -s -X POST http://192.168.1.112:9999 -H "Content-Type: application/json" -d "{"ref":"refs/heads/main","repository":{"name":"shop-server"}}"