Skip to content

craigmayhew/craig.mayhew.io

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
css
 
 
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

deploy

IPFS: https://app.fleek.co/ builds and hosts the IPFS version whenever it detects changes on the "main" github branch. Web 2.0 builds run on github actions and deploy to AWS S3 + Cloudfront.

partial local builds

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

php build.php blog pages 

Or just regenerate the web pages and static content.

php build.php pages static 

Finally, deploy.

php uploadeToS3.php

About

Personal website & blog. Build & Deploy to S3+Cloudfront / IPFS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published