-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (28 loc) · 1.19 KB
/
.env.example
File metadata and controls
32 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# ============================================================
# Environment variables for development
# Copy this file to .env and fill in the values
# ============================================================
# --- GitHub ---
# Personal Access Token (classic) — https://github.com/settings/tokens/new
# Required scopes: repo (push, PRs, issues)
GITHUB_TOKEN=github_pat_YOUR_TOKEN_HERE
# --- Cloudflare ---
# API Token — https://dash.cloudflare.com/profile/api-tokens
# Required permissions: Workers Scripts (Edit)
CLOUDFLARE_API_TOKEN=YOUR_API_TOKEN_HERE
# Account ID — visible on the Cloudflare dashboard homepage
CLOUDFLARE_ACCOUNT_ID=YOUR_ACCOUNT_ID_HERE
# --- Local dev (wrangler dev) ---
# These variables go in .dev.vars (wrangler format), not here.
# They are already configured in production via `wrangler secret put`.
# List them here for reference:
# GITHUB_CLIENT_ID=...
# GITHUB_CLIENT_SECRET=...
# COOKIE_ENCRYPTION_KEY=...
# ALLOWED_GITHUB_ID=...
# ALLOWED_GITHUB_LOGIN=...
GITHUB_CLIENT_ID=YOUR_GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET=YOUR_GITHUB_CLIENT_SECRET
COOKIE_ENCRYPTION_KEY=YOUR_ENCRYPTION_KEY_HERE
ALLOWED_GITHUB_ID=YOUR_GITHUB_USER_ID
ALLOWED_GITHUB_LOGIN=YOUR_GITHUB_LOGIN