mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2024-11-23 22:45:43 +01:00
chore(readme): add step to enable gh actions
This commit is contained in:
parent
359595b3b3
commit
bc0d52e89e
14
README.md
14
README.md
@ -35,11 +35,11 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
|
|||||||
|
|
||||||
- Name: CF_ACCOUNT_ID (should be added automatically)
|
- Name: CF_ACCOUNT_ID (should be added automatically)
|
||||||
|
|
||||||
- Name: SECRET_SLACK_WEBHOOK_URL
|
- Name: SECRET_SLACK_WEBHOOK_URL (optional)
|
||||||
- Value: your-slack-webhook-url
|
- Value: your-slack-webhook-url
|
||||||
```
|
```
|
||||||
|
3. Navigate to the **Actions** settings in your repository and enable them
|
||||||
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
|
4. 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
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
settings:
|
settings:
|
||||||
@ -69,11 +69,11 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
|
|||||||
followRedirect: false # should fetch follow redirects, default=false
|
followRedirect: false # should fetch follow redirects, default=false
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Push to `main` branch to trigger the deployment
|
5. Push to `main` branch to trigger the deployment
|
||||||
5. 🎉
|
6. 🎉
|
||||||
6. _\(optional\)_ Go to [Cloudflare Workers settings](https://dash.cloudflare.com/?to=/workers) and assign custom domain/route
|
7. _\(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
|
8. _\(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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user