This commit is contained in:
@@ -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"}}"
|
||||||
Reference in New Issue
Block a user