Skip to content

ci(deploy): add cloudflare deployment workflow - #9

Merged
Tuxedolphin merged 1 commit into
mainfrom
ci/simplify-test-triggers
Jun 15, 2026
Merged

ci(deploy): add cloudflare deployment workflow#9
Tuxedolphin merged 1 commit into
mainfrom
ci/simplify-test-triggers

Conversation

@Tuxedolphin

Copy link
Copy Markdown
Owner

Summary

  • add a Cloudflare deploy workflow for the Vite frontend using Pages Direct Upload
  • optionally deploy the /api/* Worker proxy when Worker backend/origin variables are configured
  • document the required Cloudflare GitHub secrets and variables

Verification

  • workflow YAML parse passed
  • attribution scan for Claude/Codex/generated-by strings returned no matches
  • uv run --python 3.13 ruff check backend tests
  • npx --yes wrangler@latest deploy --dry-run --config deploy\cloudflare-api-proxy\wrangler.jsonc
  • pnpm lint
  • uv run --python 3.13 pytest tests/ (827 passed)
  • pnpm test (23 passed)
  • pnpm build
  • pnpm audit --audit-level moderate
  • git diff --check

Notes

  • This deploys the frontend to Cloudflare Pages and the Worker API proxy to Cloudflare. The current symbolic backend remains a Python service configured as the Worker BACKEND_ORIGIN.

@Tuxedolphin
Tuxedolphin merged commit 7cc17f3 into main Jun 15, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant