Skip to content

Personal website & blog. Build & Deploy to Cloudflare + Fleek

Notifications You must be signed in to change notification settings

craigmayhew/craig.mayhew.io

Repository files navigation

craig.mayhew.io

Craig Mayhew's Personal website

Blog posts are stored in blogposts/ as json files. One file per post. Articles are stored in articles/ as json files. One file per page. Pages are stored in pages/ as json files. One file per page.

Deployment

Deployment is now automated via fleek and cloudflare pages github integrations.

  • IPFS: https://app.fleek.co/ builds and hosts the IPFS version whenever it detects changes on the "main" github branch.
  • Web 2.0: A cloudflare github integration deploys on pushes to branch 'main'.
  • AWS/CF/S3 deploys were removed at commits 0c8dfe7 and 15bf523. If you need the github + s3 deploy scripts for something else, look at those commits.

Local dev builds

You can specify what should be regenerated via arguments to build.php. e.g. to deploy just the blog and pages

cd tools
php build.php blog pages 

Or just regenerate the web pages and static content.

cd tools
php build.php pages static