forked from nev7n/wait_for_response
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
36 lines (36 loc) · 857 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# action.yml
name: "Wait For HTTP Responses"
author: "CygnetDigital"
branding:
icon: "clock"
color: "blue"
description: "Wait for response code from a URL with timeout"
inputs:
url:
description: "URL to poll"
required: false
default: "http://localhost/"
responseCode:
description: "Response code to wait for"
required: false
default: "200"
timeout:
description: "Timeout before giving up in ms"
required: false
default: "30000"
interval:
description: "Interval between polling in ms"
required: false
default: "200"
username:
description: "Basic Auth Username"
required: false
password:
description: "Basic Auth Password"
required: false
outputs:
result:
description: "0 if response code returned within timeout, otherwise 1"
runs:
using: "docker"
image: "Dockerfile"