This repository now deploys a single static HTML project from the repository root.
The Cloudflare Workers URL is:
https://learn-staff-notation.nightttt7.workers.dev/
index.htmllives at the repository root and is the deploy entry file.- Deployment packages the repository root while excluding infrastructure and data directories such as
.github/,.cloudflare/,data/, andstaff/. .cloudflare/deploy.defaults.jsonstores shared Wrangler defaults..cloudflare/scripts/project-config.mjsdefines the fixed project metadata..cloudflare/scripts/resolve-project-changes.mjsdecides whether a change should trigger deployment..cloudflare/scripts/deploy-project.mjspackages and deploys the site.
- A push to
mainruns.github/workflows/deploy-learn-staff-notation.yml. - The workflow deploys the single project
learn-staff-notationfrom the repository root. - Normal pushes deploy when root-level site files or included asset folders change.
- Changes under
.cloudflare/,.github/workflows/deploy-learn-staff-notation.yml,.github/copilot-instructions.md, orREADME.mdalso trigger deployment. workflow_dispatchcan redeploy the project on demand.
The workflow uses the repository secrets CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.
For a safe local dry run, no Cloudflare credentials are required:
node .cloudflare/scripts/resolve-project-changes.mjs --mode manual
node .cloudflare/scripts/deploy-project.mjs --dry-runFor a real local deployment, export CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID first, then run:
node .cloudflare/scripts/deploy-project.mjs