Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.73 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.73 KB

This is the repo for my personal blog powered by static site generator jekyll and github pages.

Auto deployment on Travis-CI

The .travis.yml file is configured to execute the build.sh with each push to the jekyll branch. The jekyll site will be generated and pushed to the master branch of the repository.

If you want to use this as a template just generate an github access token. Then

  • git clone git@github.com:kryptokommunist/kryptokommunist.github.io.git
  • git checkout jekyll
  • remove the last three lines from the .travis.yml file
  • generate a personal github token
  • now just create secret variable in travis-ci settings of the repo
    • gem install travis
    • travis encrypt GH_TOKEN=YOUR_TOKEN_HERE --add env.global
  • replace github paths/names in the build.sh
  • replace articles in _posts folder
  • create personal repository named $YOUR_GH_USERNAME.github.io
  • activate Travis-CI for repo
  • push repo to your personal repository named $YOUR_GH_USERNAME.github.io

and you're good to go!