changed indentation of webhook.conf
This commit is contained in:
parent
190db8df1e
commit
1024cf844a
1 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue