build: load .env in Makefile and rename fetch_stars to site_fetch_stats

Adds -include .env with export so environment variables (e.g. GitHub
token) are available to uv commands without manual export. Renames the
target to match the site_ prefix convention used by the other targets.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-18 13:57:32 +08:00
parent 2fe0f5c2bd
commit 87a16f47ea

View File

@@ -1,7 +1,10 @@
-include .env
export
site_install:
uv sync --no-dev
fetch_stars:
site_fetch_stats:
uv run python website/fetch_github_stars.py
site_build: