Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srt32/uptime
GitHub Action to check the status of endpoints
https://github.com/srt32/uptime
actions http monitoring ping uptime
Last synced: about 1 month ago
JSON representation
GitHub Action to check the status of endpoints
- Host: GitHub
- URL: https://github.com/srt32/uptime
- Owner: srt32
- License: mit
- Created: 2019-11-01T19:39:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T07:52:01.000Z (over 1 year ago)
- Last Synced: 2024-04-27T17:34:46.126Z (8 months ago)
- Topics: actions, http, monitoring, ping, uptime
- Language: JavaScript
- Size: 580 KB
- Stars: 34
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uptime
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.
## Inputs
### url-to-hit
**Required** The url to hit
### expected-statuses
Comma separated list of statuses that are okay. Defaults to `"200"`
## Outputs
### status
The status we got.
## Example usage
```
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"
```