Skip to content

chore(deploy): vps-monitor #11

chore(deploy): vps-monitor

chore(deploy): vps-monitor #11

Workflow file for this run

name: Deploy to VPS
on:
push:
branches:
- main
jobs:
deploy:
name: Déploiement SaintBarth Volley
runs-on: ubuntu-latest
steps:
- name: Trigger deploy via vps-monitor
run: |
curl -f -s -X POST "${{ secrets.VPS_MONITOR_URL }}/api/webhook/deploy" \
-H "Authorization: Bearer ${{ secrets.WEBHOOK_SECRET }}" \
-H "Content-Type: application/json" \
-d '{"name": "sbv"}' \
| grep -q '"ok":true' || { echo "Échec déploiement vps-monitor"; exit 1; }