Skip to content

nightttt7/learn-staff-notation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-staff-notation

This repository now deploys a single static HTML project from the repository root.

Production URL

The Cloudflare Workers URL is:

https://learn-staff-notation.nightttt7.workers.dev/

Project structure

  • index.html lives 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/, and staff/.
  • .cloudflare/deploy.defaults.json stores shared Wrangler defaults.
  • .cloudflare/scripts/project-config.mjs defines the fixed project metadata.
  • .cloudflare/scripts/resolve-project-changes.mjs decides whether a change should trigger deployment.
  • .cloudflare/scripts/deploy-project.mjs packages and deploys the site.

How automatic deployment works

  • A push to main runs .github/workflows/deploy-learn-staff-notation.yml.
  • The workflow deploys the single project learn-staff-notation from 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, or README.md also trigger deployment.
  • workflow_dispatch can redeploy the project on demand.

The workflow uses the repository secrets CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.

Local maintenance

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-run

For a real local deployment, export CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID first, then run:

node .cloudflare/scripts/deploy-project.mjs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages