GitHub Action
Uptime Action
v0.2.1
Latest version
GitHub Action to check the status of endpoints. This action can be used to check a website is live after a deploy or on an ongoing basis via cron.
Required The url to hit
Comma separated list of statuses that are okay. Defaults to "200"
The status we got.
on:
schedule:
- cron: '*/5 * * * *'
jobs:
ping_site:
runs-on: ubuntu-latest
name: Ping the site
steps:
- name: Check the site
id: hello
uses: srt32/uptime@master
with:
url-to-hit: "https://example.com"
expected-statuses: "200,301"