Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio

Static portfolio site served by a Cloudflare Worker using Workers Static Assets.

Structure

  • public/ — static site (HTML/CSS/JS). Edit public/index.html to update content.
  • wrangler.toml — Worker config. name is overridden per-environment by the workflow.
  • .github/workflows/deploy.yml — CI/CD.

Branch model

Branch Worker Trigger Domain
feature personal-portfolio-dev Push to feature None (workers.dev subdomain only)
master personal-portfolio-prod Push to master Mapped manually via Worker routes

When a PR from feature is merged into master, the personal-portfolio-dev Worker is deleted.

The workflow never writes routes, so the production Worker's custom domain mapping stays intact across deploys.

Required GitHub secrets

Add these in Settings → Secrets and variables → Actions:

Secret Where to get it
CLOUDFLARE_API_TOKEN Cloudflare dashboard → My Profile → API Tokens → Create Token → template Edit Cloudflare Workers (or a custom token with Account · Workers Scripts · Edit).
CLOUDFLARE_ACCOUNT_ID Cloudflare dashboard → Workers & Pages overview → right sidebar Account ID.

Local development

npm install -g wrangler
wrangler dev

Manual deploy (optional)

wrangler deploy --name personal-portfolio-prod

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages