From 1024cf844aa411d14120d1cd6e8a583bf635cdbc Mon Sep 17 00:00:00 2001 From: Julia Spriggs Date: Mon, 14 Oct 2024 21:14:49 +0200 Subject: [PATCH] changed indentation of webhook.conf --- dossier de projet/main.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/dossier de projet/main.md b/dossier de projet/main.md index 9d661f2..b648020 100644 --- a/dossier de projet/main.md +++ b/dossier de projet/main.md @@ -2034,22 +2034,23 @@ Ensuite, nous avons mis en place l'environnement serveur requis pour le déploie } } ``` - - ```javascript - // webhook.conf - [ - { - "id": "update-staging", - "execute-command": "/home/wns_student/apps/oros/staging/fetch-and-deploy.sh", - "command-working-directory": "/home/wns_student/apps/oros/staging/" - }, - { - "id": "update-prod", - "execute-command": "/home/wns_student/apps/oros/prod/fetch-and-deploy.sh", - "command-working-directory": "/home/wns_student/apps/oros/prod/" - } - ] - ``` + +```javascript +// webhook.conf +[ + { + "id": "update-staging", + "execute-command": "/home/wns_student/apps/oros/staging/fetch-and-deploy.sh", + "command-working-directory": "/home/wns_student/apps/oros/staging/" + }, + { + "id": "update-prod", + "execute-command": "/home/wns_student/apps/oros/prod/fetch-and-deploy.sh", + "command-working-directory": "/home/wns_student/apps/oros/prod/" + } +] +``` + \newpage # Securité de l’application