You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Wait For Response
v1.0.0
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.
The URL to poll. Default "http://localhost/"
Response code to wait for. Default "200"
Timeout before giving up in milliseconds. Default "30000"
Interval between polling in ms. Default "200"
default: 200
uses: actions/wait-for-response@v1
with:
url: 'http://localhost:8081/'
responseCode: 200
timeout: 2000
interval: 500