Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nev7n authored Mar 10, 2020
1 parent 2e66eed commit 66c7ac6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# wait_for_response
Github action to wait for a response

# Wait For Response docker action

This action makes a HEAD requests to a given URL until the required response code is retrieved or the timeout is met. Initially created to allow test containers to startup before executing tests against them.
Expand All @@ -26,10 +23,11 @@ Interval between polling in ms. Default `"200"`
default: 200

## Example usage

```
uses: actions/wait-for-response@v1
with:
url: 'http://localhost:8081/'
responseCode: 200
timeout: 2000
interval: 500
interval: 500
```

0 comments on commit 66c7ac6

Please sign in to comment.