Skip to content

A cURL-based post-deploy version check with delayed start, maximum attempts and custom delay

Notifications You must be signed in to change notification settings

kswilliames/url-version-change-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment version check

A cURL-based post-deploy version check with delayed start, maximum attempts and custom delay

steps:
  - name: Wait until deployment version changes
    uses: kswilliames/url-version-change-check@v1.0
    with:
      # Check the following URL for version change
      url: https://example.com/version
      # Wait until URL updates with new version
      version: v1.0.1
      # Retry this many times
      retry-max: 5 # Optional, defaults to 10
      # Delay between version checks
      retry-delay: 60s # Optional, defaults to 30s
      # Delay first check by this time
      start-delay: 2m # Optional, defaults to 0s
      # Property of the URLs JSON response to check
      property: .data.version # Options, defaults to .version

The action will fail if the version doesn't change

About

A cURL-based post-deploy version check with delayed start, maximum attempts and custom delay

Resources

Stars

Watchers

Forks

Packages

No packages published