Automating-Pelican-Travis-CI

Posted on Tue 11 September 2018 in Notes

Automating Pelican builds with Travis-CI

Make sure to escape special characters for bash. The format $"GITHUB_TOKEN" is appropriate for this case.

Here are the formats I tried. Notice that GITHUB_TOKEN also passes successfully, but we need the $ for build success in bash.

I referred to the official Travis-CI documentation, this tutorial from user MinchinWeb, and his corresponding source repo to navigate this process.


Continue reading

Getting Started with Pelican on GitHub Pages

Posted on Tue 11 September 2018 in Notes

Deploying a Pelican site to GitHub Pages

If your change was on GitHub in the browser, run git pull origin master first. Otherwise, initiate the new build with pelican content -o output -s publishconf.py

A note on deployment

Pelican settings are split between pelicanconf.py and publishconf.py - the …


Continue reading