feat: rss to mastodon worker
modified: src/includes/base.liquid
This commit is contained in:
parent
a80d5897e2
commit
9f90a264be
8 changed files with 313 additions and 297 deletions
21
workers/mastodon/wrangler.template.toml
Normal file
21
workers/mastodon/wrangler.template.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name = "rss-to-mastodon-worker"
|
||||
main = "./index.js"
|
||||
compatibility_date = "2023-01-01"
|
||||
|
||||
account_id = "${CF_ACCOUNT_ID}"
|
||||
workers_dev = true
|
||||
|
||||
[observability]
|
||||
enabled = true
|
||||
|
||||
[[kv_namespaces]]
|
||||
binding = "RSS_TO_MASTODON_NAMESPACE"
|
||||
id = "${RSS_TO_MASTODON_KV_NAMESPACE_ID}"
|
||||
|
||||
[env.production]
|
||||
name = "rss-to-mastodon-worker-production"
|
||||
triggers = { crons = ["0 * * * *"] }
|
||||
|
||||
[[env.production.kv_namespaces]]
|
||||
binding = "RSS_TO_MASTODON_NAMESPACE"
|
||||
id = "${RSS_TO_MASTODON_KV_NAMESPACE_ID}"
|
Reference in a new issue