env
DEPLOY_SUPERVISOR_TABLE=deploy_supervisor_deploiements
DEPLOY_SUPERVISOR_USER_MODEL=App\Models\User
DEPLOY_SUPERVISOR_GATE=manage-deploy-supervisor
# false pour désactiver complètement les routes du package (voir Sécurité)
DEPLOY_SUPERVISOR_ROUTES=true
DEPLOY_SUPERVISOR_ROUTE_PREFIX=api/deploiement
DEPLOY_SUPERVISOR_CHANNEL=deploy-supervisor
DEPLOY_SUPERVISOR_QUEUE=deploy
DEPLOY_SUPERVISOR_GIT_BRANCH=main
DEPLOY_SUPERVISOR_TIMEOUT=900
# Optionnel — authentification git du pipeline (remote HTTPS uniquement) :
# utile si le worker de queue n'a pas accès à l'agent SSH / au credential
# helper de l'utilisateur ayant cloné le dépôt manuellement.
DEPLOY_SUPERVISOR_GIT_USERNAME=
DEPLOY_SUPERVISOR_GIT_TOKEN=
POST /api/deploiement Déclenche un déploiement
POST /api/deploiement/search Historique paginé
GET /api/deploiement/environnements Liste des environnements (déduite de config('deploy-supervisor.targets'))
GET /api/deploiement/{uid} Détail complet (avec sortie console)
DELETE /api/deploiement/{uid} Supprime un déploiement (sauf en_cours)
bash
# Déploie toutes les cibles configurées, en file d'attente
php artisan deploy-supervisor:run
# Une seule cible
php artisan deploy-supervisor:run --cible=backend
# Synchrone — attend la fin dans ce process (secours si le worker de queue est down)
php artisan deploy-supervisor:run --sync
bash
php artisan deploy-supervisor:webhook-secret
bash
php artisan deploy-supervisor:webhook-url
# Limiter l'affichage à une seule cible
php artisan deploy-supervisor:webhook-url backend
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.