-
Notifications
You must be signed in to change notification settings - Fork 197
Quickstart
- Your Cloudflare account (free plan is enough, no credit card required)
- Your GitHub account to run Actions to deploy
To setup your own Uptimeflare on Cloudflare:
-
Create an API Token at https://dash.cloudflare.com/profile/api-tokens, using
Edit Cloudflare Workers
template. -
Create a copy of this repo in your account via clicking
Use this template
. Optionally make it private if you don't want others to see your monitor definitions. (You may directly include token there). -
Set your Cloudflare API Token in
Settings - Secrets and variables - Actions
, set a secret whose key isCLOUDFLARE_API_TOKEN
and value is the token you obtained in Step 1. Your token will be stored securely by GitHub. -
Edit the
uptime.config.ts
file (located at the root of YOUR OWN repo) to define your monitors and customize your status page, refer to the docs for a more detailed explanation.After editing, Navigate to
Actions
to see the progress of deployment. When the pipeline succeeds, you should see the status page deployed successfully in your Cloudflare account atWorkers & Pages
. -
To update or modify your config later, just edit
uptime.config.ts
again. If your configuration is correct, the pipeline will pick up your changes and apply them to your Cloudflare Pages automatically.