feat:环境变量优化

This commit is contained in:
hzm
2026-02-08 21:33:37 +08:00
parent 173330fa7f
commit 6d12e9485f
5 changed files with 30 additions and 4 deletions

12
env.example Normal file
View File

@@ -0,0 +1,12 @@
# Supabase 配置
# 从 Supabase 项目设置中获取这些值https://app.supabase.com/project/_/settings/api
# 复制此文件为 .env.local 并填入实际值
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# web3forms 配置
# 从 web3forms 中获取这些值 https://app.web3forms.com/dashboard
NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY=your_web3forms_access_key
# 如果要用 Github Actions 部署,需要在 Github 项目 Settings → secrets and actions → Actions → 创建 Repository secrets