Skip to content

Personal website deployed through github pages with a custom domain

License

Notifications You must be signed in to change notification settings

laaraujo/laaraujo.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to GitHub Pages

laaraujo.dev

This repo servers both as my personal website and as a template for anyone wanting to deploy a static site in github actions with 11ty (or any other static site generator for that matter)

Local development

npm install
npm run start

Local build

npm run build

CNAME file

CNAME file is needed only if you are using a custom domain with Github Pages. This is due to the fact that the Github Pages settings commits a CNAME file to the gh-pages branch for the selected domain, but it gets deleted after every commit if not present when pushing a new build.

License

MIT License

  • Feel free to just fork this and use it if you like it, just make sure to leave a star.