Skip to content

URL Health

URL Health #165

name: URL Health
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 */6 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check the deployed service URL
uses: jtalk/url-health-check-action@v4
with:
# Check the following URLs one by one sequentially
url: https://pymc-marketing-app.streamlit.app/
# Follow redirects, or just report success on 3xx status codes
follow-redirect: false # Optional, defaults to false
# Fail this action after this many failed attempts
max-attempts: 3 # Optional, defaults to 1
# Delay between retries
retry-delay: 5s # Optional, only applicable to max-attempts > 1