Personal homepage of Colby Rogness.
This project is built on Hexo. Hexo is a flexible static site generator built on Node.
You can immediately start a live development server (which watches for file changes):
$ npm start
You can force a manual build of the static site to the /public
directory with:
$ npm run build
The continuous deployment process is only 3 primary steps:
- Push to
master
on GitHub. - Travis CI uses Hexo to generate a static site based on the
master
branch and pushes it tosite
on GitHub. - Netlify, the host, watches the
site
branch and deploys the static site.
Travis CI is set to cancel currently queued builds when a new push is detected (although running builds will still continue), so it's okay to push several times in short succession.
Although deployment is automated, it's possible to generate a manual deployment with npm run deploy
. This could be useful if, for instance, you wanted to deploy a branch other than master
or deploy uncommitted code. The continuous deployment system can also be paused via one of two ways:
- Pause Travis CI watching
master
. You then usenpm deploy
to run a manual deployment tosite
. Best when deploying code not onmaster
. - Pause Netlify watching
site
. You then use Netlify to trigger a manual deployment fromsite
. Best when deploying code onmaster
, but maybe not at the time it was pushed tomaster
.
Red: #E63946 (Accent) White (off-white): #F1FAEE Light Blue: #A8DADC Blue: #457B9D Dark Blue: #1D3557 (Primary)