mirror of
				https://github.com/tormachris/cf-workers-status-page.git
				synced 2025-11-04 12:56:24 +01:00 
			
		
		
		
	chore(readme): add wrangler settings to the deploy button guide
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
# Cloudflare Worker - Status Page
 | 
					# Cloudflare Worker - Status Page
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Monitor your websites, present the status including daily history, and get Slack notification whenever your website status changes. Using **Cloudflare Workers**, **CRON Triggers,** and **KV storage**.
 | 
					Monitor your websites, showcase status including daily history, and get Slack notification whenever your website status changes. Using **Cloudflare Workers**, **CRON Triggers,** and **KV storage**.
 | 
				
			||||||
 | 
					
 | 
				
			||||||

 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -30,7 +30,7 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
 | 
				
			|||||||
1. Click the button and follow the instructions, you should end up with a clone of this repository
 | 
					1. Click the button and follow the instructions, you should end up with a clone of this repository
 | 
				
			||||||
2. Navigate to your new **GitHub repository > Settings > Secrets** and add the following secrets:
 | 
					2. Navigate to your new **GitHub repository > Settings > Secrets** and add the following secrets:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   ```text
 | 
					   ```yaml
 | 
				
			||||||
   - Name: CF_API_TOKEN (should be added automatically)
 | 
					   - Name: CF_API_TOKEN (should be added automatically)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   - Name: CF_ACCOUNT_ID (should be added automatically)
 | 
					   - Name: CF_ACCOUNT_ID (should be added automatically)
 | 
				
			||||||
@@ -41,7 +41,7 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
3. Edit [config.yaml](https://github.com/eidam/cf-workers-status-page/blob/main/config.yaml) to adjust configuration and list all of your websites/APIs you want to monitor
 | 
					3. Edit [config.yaml](https://github.com/eidam/cf-workers-status-page/blob/main/config.yaml) to adjust configuration and list all of your websites/APIs you want to monitor
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   ```text
 | 
					   ```yaml
 | 
				
			||||||
   settings:
 | 
					   settings:
 | 
				
			||||||
     title: "Status Page"
 | 
					     title: "Status Page"
 | 
				
			||||||
     url: "https://status-page.eidam.dev" # used for Slack messages
 | 
					     url: "https://status-page.eidam.dev" # used for Slack messages
 | 
				
			||||||
@@ -62,7 +62,7 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
 | 
				
			|||||||
   monitors:
 | 
					   monitors:
 | 
				
			||||||
     - id: status-page-eidam-dev # unique identifier
 | 
					     - id: status-page-eidam-dev # unique identifier
 | 
				
			||||||
       name: Eidam's Status Page
 | 
					       name: Eidam's Status Page
 | 
				
			||||||
       description: 'https://status-page.eidam.dev' # (optional)
 | 
					       description: 'https://status-page.eidam.dev' # default=empty
 | 
				
			||||||
       url: 'https://status-page.eidam.dev/' # URL to fetch
 | 
					       url: 'https://status-page.eidam.dev/' # URL to fetch
 | 
				
			||||||
       method: GET # default=GET
 | 
					       method: GET # default=GET
 | 
				
			||||||
       expectStatus: 200 # operational status, default=200
 | 
					       expectStatus: 200 # operational status, default=200
 | 
				
			||||||
@@ -73,6 +73,7 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
 | 
				
			|||||||
5. 🎉
 | 
					5. 🎉
 | 
				
			||||||
6. _\(optional\)_ Go to [Cloudflare Workers settings](https://dash.cloudflare.com/?to=/workers) and assign custom domain/route
 | 
					6. _\(optional\)_ Go to [Cloudflare Workers settings](https://dash.cloudflare.com/?to=/workers) and assign custom domain/route
 | 
				
			||||||
   * e.g. `status-page.eidam.dev/*` _\(make sure you include `/*` as the Worker also serve static files\)_
 | 
					   * e.g. `status-page.eidam.dev/*` _\(make sure you include `/*` as the Worker also serve static files\)_
 | 
				
			||||||
 | 
					7. _\(optional\)_ Edit [wrangler.toml](https://github.com/eidam/cf-workers-github-releases/blob/main/wrangler.toml) to adjust Worker settings or CRON Trigger schedule
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Deploy on your own
 | 
					#### Deploy on your own
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user