11 lines
325 B
YAML
11 lines
325 B
YAML
name: Deploy
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Trigger webhook
|
|
run: |
|
|
curl -s -X POST http://192.168.1.112:9999 -H "Content-Type: application/json" -d "{"ref":"refs/heads/main","repository":{"name":"shop-server"}}" |