.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NOTION_TOKEN
secret
Notion Integration Token 获取方式: https://www.notion.so/my-integrations
NOTION_HOME_PAGE_ID
Notion Home Page ID (用于创建 Database)
FIGMA_IMPORT_DB_ID
Figma Import Queue Database ID 从 Database URL 中提取: https://notion.so/xxx?v=DATABASE_ID
FIGMA_ACCESS_TOKEN
secret
Figma Personal Access Token (插件用) 获取方式: Figma Settings > Account > Personal Access Tokens
brew install flyctl && fly launch --from https://github.com/biasia/code-to-figma
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/biasia/code-to-figma
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/biasia/code-to-figma