My personal website built with 11ty.
The production version of this website runs on a separate server. On a push to the main
branch, a workflow runs and builds the website and after it completes running, it will deploy the changes to my server. This repo is also setup to deploy to GitHub Pages and Netlify but those are mainly there for reference purpose.
To build, run npm install
and npm run build
. If doing active development, you can also run npm run start
to watch for changes and rebuild as needed.
The easiest way to deploy this website is to upload the _site
directory that shows up after a successful built. You can also fork this repo and make the required environment variable changes (see .env.example) and it should build once you enable GitHub Pages.
An easier approach is to use the "Netlify Deploy" button from below which should run through the process of cloning and setting up everything for you.