Then go to Travis CI's settings page of your repository, and add a newĮnvironment variable GITHUB_TOKEN with the value of the token you generated. Page, and generate new token with public_repo or repo permission as you You'll see there's github-token: $GITHUB_TOKEN, and this is what you shouldĬonfigure. If you want furtherĬustomization, see Travis CI's documentation page. On.branch ( master by default) as you want. You can change target-branch ( gh-pages by default) and To deploy using Travis CI, first copy the. If you want to use full features like categories and tags, I recommend you to Install gems and you're good to go! The blog will be available onĭeployment to GitHub Pages using Travis CI Generate a new Jekyll blog: jekyll new blog -skip-bundleĮdit Gemfile to use whiteglass theme: gem "jekyll-whiteglass"Įdit _config.yml to use whiteglass theme and its plugins: theme: jekyll-whiteglassĬurl -L -O ""Ĭurl -L -create-dirs -o _data/navigation.yml Or install it yourself as: gem install jekyll-whiteglass Add this line to your Jekyll site's Gemfile: gem "jekyll-whiteglass"Īnd add this line to your Jekyll site's _config.yml: theme: jekyll-whiteglass
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |