Step 1: Deploy to Cloudflare Pages (GitHub Push)

The production site is hosted on Cloudflare Pages and automatically deploys whenever changes are pushed to GitHub. Since the modifications are made locally on this machine, run these commands in your shell to deploy the update:

git add .
git commit -m "Deploy FMX PM and Problem Ledger System"
git push origin main

Cloudflare Pages will detect the push and complete the production build automatically in about 1–2 minutes.

Step 2: Gating the Route (Cloudflare Access)

To protect the new dashboard, you need to add its path to your existing Cloudflare Access rules:

  1. Go to your Cloudflare Zero Trust Dashboard.
  2. Navigate to Access > Applications in the left sidebar.
  3. Locate your Engelsplace Work application (which gates routes like /safety and /maintenance) and click Edit.
  4. Under the Application Path section, add a new row:
    Domain: engelsplace.com
    Path: ops-dashboard*

    ⚠️ Make sure to include the trailing asterisk (*) so that all sub-paths are gated.

  5. Click Save Application.