Setup Chirpy for GitHub Pages
Steps I followed to setup the Chirpy Jekyll theme in GitHub Pages.
- Create the site from Chirpy Starter
- Sign in to GitHub
- Browse to Chirpy Starter
- Click the button Use this template > Create new repository
- Name the repository
USERNAME.github.io, whereUSERNAMEis your GitHub username.
- Go to the repository
https://github.com/USERNAME/USERNAME.github.ioand setup the deploy actions.- Select Settings tab, then click Pages in the left navigation bar.
- In the Source section, select
GitHub Actionsfrom the dropdown menu.
After this, the site will be built and deployed when you push to the main branch.
- Clone the repository to your local disk, update
_config.ymlas needed.- If you work on Windows, add the
tzinfo-datadependency inGemfile1
gem 'tzinfo-data' if Gem.win_platform?
- Run
bundle installto install the dependencies - Run
bundle exec jekyll sto start the local dev server at http://127.0.0.1:4000
- If you work on Windows, add the
- Follow Customize the Favicon to update the favicons.
- Commit and push to the remote repository
- Check the Actions tab in the repository site. When the build and deploy actions complete, visit
https://USERNAME.github.io.
This post is licensed under CC BY 4.0 by the author.