Skip to content

Email for professionals and teams

docs: correct the environment variable names in .dev.vars.example

Bruce McLachlan786d2b6514b0
diff --git a/.dev.vars.example b/.dev.vars.example
index c31606e..6483ad0 100644
--- a/.dev.vars.example
+++ b/.dev.vars.example
@@ -2,16 +2,19 @@ NEXTJS_ENV=development
# Preferred: scoped API token.
# This is an app runtime token, not the Cloudflare deploy/build token.
CF_TOKEN=your_api_token_with_zone_email_permissions
-CF_ACCOUNT_ID=your_account_id
+# Optional account id. Read by the database backup workflow.
+CF_AID=your_account_id
CF_EMAIL_WORKER_NAME=mailflare
# Optional: lets the admin dashboard trigger the GitHub update workflow.
GITHUB_UPDATE_TOKEN=github_pat_with_actions_write
-GITHUB_UPDATE_REPOSITORY=owner/repo
-GITHUB_UPDATE_SOURCE_REPOSITORY=hieunc229/mailflare
-GITHUB_UPDATE_WORKFLOW=deploy-update.yml
+GITHUB_UPDATE_REPO=owner/repo
GITHUB_UPDATE_REF=main
+# Optional: required for scheduled D1 database backups.
+D1_DATABASE_ID=your_d1_database_id
+D1_BACKUP_TOKEN=cloudflare_api_token_allowed_to_export_d1
+
# Legacy Global API Key alternative. Use this only instead of CF_TOKEN.
# CF_API_KEY=your_global_api_key