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.
healthcheck/README.md

556 B

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.