This is my own blog built with Gatsby
.
# Run dev server at localhost
npm run dev
# Build your website to blog folder
bash build.sh
# Build and deploy your website to GitHub Pages, Netlify or wherever you want.
npm run deploy
Github
+----------+ Lambda,
| Action | Redirect,
| | etc.
+---+----+-----v----+ +---------+ +---------+
+--------+ Push | | | Deploy | | Request | |
| Author +--------> master | gh-pages +--------> Netlify <---------+ Clients |
+--------+ | | | | | | |
+--------+----------+ +---------+ +----+----+
Repository