diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9d5a1c..52caef9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,10 @@ on: release: types: [created] # Automatic trigger on release creation + push: + branches: + - main + # Automatic trigger on push to main branch jobs: build: diff --git a/config.js b/config.js index 6d64d76..4e69a74 100644 --- a/config.js +++ b/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 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 name : 'SauceKudasai', // optional