sctech statuspage
simple github workflow to check sites' status
How to use:
First, create a Personal Access Token (PAT):
- Go to your GitHub account settings
- Navigate to Developer settings > Personal access tokens > Tokens (classic)
- Generate a new token with the repo scope
- Copy the generated token
Add the token to your repository secrets:
- Go to your repository on GitHub
- Navigate to Settings > Secrets and variables > Actions
- Click on "New repository secret"
- Name the secret PAT and paste your token as the value.
Next, generate a new repo from this template.
- Click "Use this template" at the top right corner.
- Enter the repo information.
- Delete status.json
- Open /.github/workflows/check-status.yml
- Change the sites' urls to your sites' urls. (add more if you need to)
Next, run the workflow for the first time.
- Click "Actions" at the navigation bar.
- Click "Website Status Check" at the right bar.
- Click "Run workflow" and then "Run workflow" again.
Done! You have a website status page now.
If you used a custom domain:
Go to your custom domain
If you did not use a custom domain:
Go to https://yourusername.github.io/reponame
Replace yourusername with your username and replace reponame with your generated repo's name.