deno install -Af --unstable -n monitor https://raw.githubusercontent.com/jupegarnica/garn-monitoring/master/app.ts
monitor --init monitor.config.yaml
monitor --config monitor.config.yaml
Run only once:
monitor --config monitor.config.yaml --once
Run it every hour with google actions. It takes aprox 744 min / month. (FREE 2000 min / month)
Go to https://github.com/:userName/:repoName/settings/secrets/actions to configure your smtp settings
# .github/workflows/run-monitor.yml
SMTP_HOST: ${{ secrets.SMTP_HOST }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
SMTP_USERNAME: ${{ secrets.SMTP_USERNAME }}
SMTP_FROM: ${{ secrets.SMTP_FROM }}
SMTP_TO: ${{ secrets.SMTP_TO }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
Watch docker-compose.yml
docker-compose up