📟 Personal DiscordOps to keep deployed things in check
This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Marc afc4f43e72
All checks were successful
CI/CD / Static Analysis (push) Successful in 34s
CI/CD / Deploy (push) Successful in 1m28s
Update .forgejo/workflows/main.yml
2024-03-30 04:20:29 +00:00
.forgejo/workflows Update .forgejo/workflows/main.yml 2024-03-30 04:20:29 +00:00
src chore(tools): add biomejs, apply lint+formatting fixes 2024-03-14 01:16:53 -04:00
.gitignore feat: scheduled healthchecks with reporting via Discord webhook 2024-03-14 00:41:01 -04:00
.yarnrc.yml feat: scheduled healthchecks with reporting via Discord webhook 2024-03-14 00:41:01 -04:00
biome.json chore(tools): add biomejs, apply lint+formatting fixes 2024-03-14 01:16:53 -04:00
netlify.toml feat: scheduled healthchecks with reporting via Discord webhook 2024-03-14 00:41:01 -04:00
package.json chore(tools): add biomejs, apply lint+formatting fixes 2024-03-14 01:16:53 -04:00
README.md feat: scheduled healthchecks with reporting via Discord webhook 2024-03-14 00:41:01 -04:00
yarn.lock chore(tools): add biomejs, apply lint+formatting fixes 2024-03-14 01:16:53 -04:00

healthcheck

Personal DiscordOps to keep things I deploy in check

Configuration

A configuration file should be manually pushed and made accessible to the functions. This can be done via netlify blobs:set test config -i ./config.json provided that config.json has content that matches the configuration schema:

{
  "endpoints": [
    { "name": <service-name>, "url": <endpoint-url> },
    ...
  ],
  "webhook_url": <webhook-url>
}

The webhook-url is expected to contain $DISCORD_WEBHOOK_ID and $DISCORD_WEBHOOK_TOKEN placeholders.