Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
chore: change secrets format to be worker compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Aug 1, 2024
1 parent 6fc6bce commit 02f5c33
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 65 deletions.
47 changes: 0 additions & 47 deletions deploy-keys.ts

This file was deleted.

14 changes: 0 additions & 14 deletions environment.example.json

This file was deleted.

19 changes: 15 additions & 4 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
name = "telegram-ubiquibot"
main = "src/worker.ts"
compatibility_date = "2023-08-01"
main = "src/worker.ts"
name = "telegram-ubiquibot"
node_compat = true

# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
# Note: Use secrets to store sensitive data.
# Docs: https://developers.cloudflare.com/workers/platform/environment-variables
# [vars]
# MY_VARIABLE = "production_value"

[vars]
GITHUB_INSTALLATION_TOKEN = "your_github_installation_token"
GITHUB_OAUTH_CLIENT_ID = "your_github_oauth_client_id"
GITHUB_OAUTH_CLIENT_SECRET = "your_github_oauth_client_secret"
GITHUB_PAT = "your_github_pat"
LOG_WEBHOOK_SECRET = "your_log_webhook_secret"
OPENAI_API_KEY = "your_openai_api_key"
SECRET = "your_secret"
SUPABASE_KEY = "your_supabase_key"
SUPABASE_URL = "your_supabase_url"
TELEGRAM_BOT_TOKEN = "your_telegram_bot_token"
WEBHOOK = "your_webhook"

# Bind a KV Namespace. Use KV as persistent storage for small key-value pairs.
# Docs: https://developers.cloudflare.com/workers/runtime-apis/kv
Expand Down

0 comments on commit 02f5c33

Please sign in to comment.