mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
Added vencloud & updated build.yml
This commit is contained in:
parent
01768fcf49
commit
87ae58235a
2 changed files with 17 additions and 0 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -6,6 +6,10 @@ on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
# Automatic trigger on release creation
|
# Automatic trigger on release creation
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
# Automatic trigger on push to main branch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
13
config.js
13
config.js
|
|
@ -136,6 +136,19 @@ export default {
|
||||||
customCheck : async (content, response)=>{return true;}, // optional, Function | AsyncFunction -> Run your own custom checks return false in case of errors
|
customCheck : async (content, response)=>{return true;}, // optional, Function | AsyncFunction -> Run your own custom checks return false in case of errors
|
||||||
validStatus : [200], // optional, Which http status should be considered non errors [defaults to 200-299]
|
validStatus : [200], // optional, Which http status should be considered non errors [defaults to 200-299]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id : 'vencloud', // optional
|
||||||
|
name : 'Vencloud', // optional
|
||||||
|
link : 'https://vencloud.marcus7i.net', // optional, for notifications and dashboard only, [defaults to endpoint.url], can be disabled by setting it to false
|
||||||
|
url : 'https://vencloud.marcus7i.net', // required
|
||||||
|
request : { // optional, fetch options
|
||||||
|
method: 'GET',
|
||||||
|
},
|
||||||
|
mustFind : '', // optional, String | Array | Regex | Function | AsyncFunction
|
||||||
|
mustNotFind : ["Page not found", "cloudflare"], // optional, String | Array | Regex | Function | AsyncFunction
|
||||||
|
customCheck : async (content, response)=>{return true;}, // optional, Function | AsyncFunction -> Run your own custom checks return false in case of errors
|
||||||
|
validStatus : [200], // optional, Which http status should be considered non errors [defaults to 200-299]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id : 'saucekudasai', // optional
|
id : 'saucekudasai', // optional
|
||||||
name : 'SauceKudasai', // optional
|
name : 'SauceKudasai', // optional
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue