Skip to content

Commit d5362b7

Browse files
authored
Update README.md
1 parent edac17e commit d5362b7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ The request need to be sent via POST in the following format:
77
"secret": "51999777-c86a-41c0-b69f-2e3f9ccc0f3b"
88
}
99
```
10-
## Responses
11-
The possible responses are:
12-
- HTTP 204: task execution was successful, the output is logged to `stdout`.
13-
- HTTP 403: invalid request or failed token authentication.
14-
- HTTP 405: only http `POST` method is allowed.
15-
- HTTP 500: task execution incurred in errors, traceback is logged to `stderr`.
16-
1710
## Configuration
1811
The following ENV vars are used to configure the app:
1912
- NSW_TOKEN: (required) the token used to authenticate a request
2013
- NSW_WORK_DIR: the working dir with the npm script, defaults to `/var/www/html`
2114
- NSW_SCRIPT_NAME: the name of the task, defaults to `build`
2215
- NSW_TIMEOUT: the maximum time to wait (in seconds) for the task to complete, defaults to 30 seconds
16+
17+
## Responses
18+
The possible responses are:
19+
- HTTP 204: task execution was successful, the output is logged to `stdout`.
20+
- HTTP 403: invalid request or failed token authentication.
21+
- HTTP 405: only http `POST` method is allowed.
22+
- HTTP 500: task execution incurred in errors, traceback is logged to `stderr`.

0 commit comments

Comments
 (0)