Deployment Guide: GitHub Pages → Cloudflare Workers

Overview

This site is configured to deploy to Cloudflare Workers with static assets, replacing the previous GitHub Pages setup.

Prerequisites

  1. Domain atxconsulting.com must be added to Cloudflare (already done)
  2. GitHub secrets configured:

Setup Steps

1. Configure Cloudflare DNS & Routes

Run the audit tool to inspect current setup:

CLOUDFLARE_API_TOKEN=... CLOUDFLARE_ACCOUNT_ID=... uv run configure-cloudflare audit

Apply the configuration (creates/updates DNS and Worker routes):

CLOUDFLARE_API_TOKEN=... uv run configure-cloudflare apply

2. Deploy the Worker

Push to master branch or trigger workflow manually:

git push origin master

Or deploy locally:

npm ci
npm run build
npx wrangler deploy

3. Verify Deployment

Key Files

Features

Troubleshooting

Rolling Back

To roll back to a previous deployment:

npx wrangler rollback

Or redeploy a specific version from the Cloudflare dashboard.