My personal wiki notes on jekyll implementation
-
Install jekyll and bundler
gem install jekyll bundler
-
Grant permission to main branch to allow it to deploy to gh-pages branch.
-
Go to Settings page of the repository, click Environments tab and select github-pages environment then click on Edit button.
-
Under Deployment branches, click Add deployment branch rule and enter main on the Branch name pattern text then click Add rule button to apply the changes.
-
-
Create a new repository.
-
Clone the newly created repository.
git clone git@github.com:<username>/<repository>.git
-
Change directory to the local repository path.
-
Create a new jekyll site.
jekyll new .
-
Update Gemfile if necessary and execute this command to update Gemfile.lock for changes to reflect.
bundle install
-
Update _config.yml accordingly.