check here for live blog
If you like this setup and would like replicate it then follow these commands
-
git clone https://github.com/zeoneo/zeoneo.github.io.git -
cd zeoneo.github.io -
rm -rf .git #This will remove all of my git commit history -
npm install -
npm install gatsby -g -
gatsby develop
- First create the public repository with name exactly
{your-username}.github.io - Create
gh-pagesbranch in git repo and make it default branch on github. gh-pagesbranch will contain the source code of blog.masterbranch is created on the fly when github actions run on push togh-pages.- You will need to generate the personal access key using documentation given here.
- Add that access token in the repository as secret with name
DEPLOY_TOKEN - Once you push all the set up on
{your-username}.github.ioand branchgh-pagesyour blog should be up at any second. Access it usinghttps://{your-username}.github.io