Skip to content

Releases: KaliCZ/verify-deployment

Verify Deployment v1.1.0

28 Mar 20:16

Choose a tag to compare

A reusable GitHub Action that polls a health endpoint with retries to verify a deployment is live and healthy. Useful for CI/CD pipelines with slot swaps or rolling deployments.

Features

  • Polls a health endpoint until it returns HTTP 200
  • Configurable retry count and interval (defaults: 20 attempts, 5s apart)
  • Optional expected-content — verify that the response body contains a specific string (e.g., a commit SHA), ensuring the newly deployed version is actually serving traffic

Usage

# Basic health check
- uses: KaliCZ/verify-deployment@v1
  with:
    health-url: https://api.example.com/health

# Verify specific commit is deployed
- uses: KaliCZ/verify-deployment@v1
  with:
    health-url: https://api.example.com/health
    expected-content: ${{ github.sha }}

Inputs

Input Required Default Description
health-url Yes Full URL of the health endpoint
expected-content No String that must appear in the response body
max-attempts No 20 Max attempts before failing
retry-interval No 5 Seconds between retries

Full changelog: https://github.com/KaliCZ/verify-deployment/commits/v1.1.0