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