changed indentation of webhook.conf

This commit is contained in:
Julia Spriggs 2024-10-14 21:14:49 +02:00
parent 190db8df1e
commit 1024cf844a

View file

@ -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