Skip to content
check

GitHub Action

Axios URL Health Check

v2 Pre-release

Axios URL Health Check

check

Axios URL Health Check

Ping given URL for a post-deploy check. With redirect and retrying capabilities

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Axios URL Health Check

uses: vcnc-hex/url-health-check-action@v2

Learn more about this action in vcnc-hex/url-health-check-action

Choose a version

URL health check action

A post-deploy health check with build-it redirect & retry. An quick & easy way to verify a deployment.

steps:
  - name: Check the deployed service URL
    uses: vcnc-hex/url-health-check-action@v2
    with:
      # Check the following URLs one by one sequentially
      url: https://example.com|http://example.com
      # Max time to keep requesting url
      max-time: 1m
      # Max time until a request times out
      request-timeout: 10s
      # Fail this action after this many failed attempts
      # set to "until-max-time" to request forever
      max-attempts: 1 # Optional, defaults to 1
      # Delay between retries
      retry-delay: 1s