https://github.com/kyouheicf/warp-release
Cloudflare WARP クライアントの最新リリース情報を Workers で検知してメール通知する #cloudflare - Qiita
https://github.com/kyouheicf/warp-release
cloudflare cloudflare-workers
Last synced: 12 months ago
JSON representation
Cloudflare WARP クライアントの最新リリース情報を Workers で検知してメール通知する #cloudflare - Qiita
- Host: GitHub
- URL: https://github.com/kyouheicf/warp-release
- Owner: kyouheicf
- Created: 2024-01-11T01:57:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T15:07:26.000Z (about 2 years ago)
- Last Synced: 2025-01-13T15:49:42.795Z (about 1 year ago)
- Topics: cloudflare, cloudflare-workers
- Language: TypeScript
- Homepage: https://qiita.com/khayama/items/ccb23a085bc2f32b30ac
- Size: 233 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Detect the latest release of Cloudflare WARP Client and Send an email notification

- Create and Bind KV namespace
```
wrangler kv:namespace create WARP_RELEASE_KV
kv_namespaces = [
{ binding = "WARP_RELEASE_KV", id = "xxxxx"}
]
```
- Bind send_email (Email Worker)
```
send_email = [
{type = "send_email", name = "EMAIL_WORKER", destination_address = "you@example.com"},
]
```
- Put your secret variables
```
wrangler secret put SENDER
wrangler secret put RECIPIENT
```
- Configure your cron trigger
```
# min hour day month weekdays (Cron Triggers execute on UTC time.)
# every day at 10 AM JST
[triggers]
crons = ["0 1 * * *"]
```