Skip to content

Commit af91b6b

Browse files
committed
chore: merge from master
1 parent 797c09f commit af91b6b

File tree

3 files changed

+251
-142
lines changed

3 files changed

+251
-142
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NPM Script Webhook
22
Tiny web app for executing a npm task after a successful token authentication request.
33

4-
The request need to be sent via POST in the following format:
4+
The request body need to be sent via POST in the following format:
55
```json
66
{
77
"secret": "51999777-c86a-41c0-b69f-2e3f9ccc0f3b"
@@ -17,6 +17,12 @@ The following ENV vars are used to configure the app:
1717
## Responses
1818
The possible responses are:
1919
- HTTP 204: task execution was successful, the output is logged to `stdout`.
20+
- HTTP 400: invalid request.
2021
- HTTP 403: invalid request or failed token authentication.
2122
- HTTP 405: only http `POST` method is allowed.
2223
- HTTP 500: task execution incurred in errors, traceback is logged to `stderr`.
24+
25+
## Docker hub images
26+
- felubra/npm-script-webhook:latest: based on mhart/alpine-node:12
27+
- felubra/npm-script-webhook:slim: based on node:12-slim
28+
- felubra/npm-script-webhook:standard: based on node:12

0 commit comments

Comments
 (0)