File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ The request need to be sent via POST in the following format:
7
7
"secret" : " 51999777-c86a-41c0-b69f-2e3f9ccc0f3b"
8
8
}
9
9
```
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
-
17
10
## Configuration
18
11
The following ENV vars are used to configure the app:
19
12
- NSW_TOKEN: (required) the token used to authenticate a request
20
13
- NSW_WORK_DIR: the working dir with the npm script, defaults to ` /var/www/html `
21
14
- NSW_SCRIPT_NAME: the name of the task, defaults to ` build `
22
15
- 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 ` .
You can’t perform that action at this time.
0 commit comments