feat(api): add /sync-from-legacy route (#192)

* feat(api): add /sync-from-legacy route

* chore: remove extraneous dockerfile

* chore: remove extraneous dockerfile build

* chore: remove extraneous dockerfile build matrix
This commit is contained in:
41666 2021-03-22 16:54:33 -04:00 committed by GitHub
parent a983492154
commit bfc96b0750
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 209 additions and 6 deletions

View file

@ -30,6 +30,12 @@ variable "bot_client_secret" {
sensitive = true
}
variable "bot_import_token" {
type = string
description = "Bot Import Token"
sensitive = true
}
variable "bot_token" {
type = string
description = "Bot Client Secret"

View file

@ -44,6 +44,11 @@ resource "cloudflare_worker_script" "backend" {
text = var.bot_token
}
secret_text_binding {
name = "BOT_IMPORT_TOKEN"
text = var.bot_import_token
}
plain_text_binding {
name = "UI_PUBLIC_URI"
text = var.ui_public_uri