Given a URL, performs a curl GET request and validates the server response against what we're expecting.
test_url
- REQUIRED. The URL we want to test for a response. Must be a URL, not just a domain.http_response
- Optional. The HTTP response status code we expect from the server. Defaults to 200allow_insecure
- Optional. Should we use the--insecure
flag with curl when testing the URL? Defaults to false
- None currently.
- name: 'Is our URL responding to requests?'
id: test-url-for-response
uses: platformsh/gha-check-url@main
with:
test_url: 'https://platform.sh/'