File tree Expand file tree Collapse file tree 3 files changed +251
-142
lines changed Expand file tree Collapse file tree 3 files changed +251
-142
lines changed Original file line number Diff line number Diff line change 11# NPM Script Webhook  
22Tiny 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  
1818The 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
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments