My Publishing Workflow

By Endy Tjahjono. Last update 04 May 2013.

 

I put this website on GitHub Pages. To create a new post, first I create a new text file in markdown format. Then I commit this text file to a local git repository. Then I push the changes to GitHub. Then GitHub Pages uses Jekyll to rerender the whole site into plain HTML files.

I use Git for Windows and have Git GUI open when I am working on the website. To speed up publishing I use this sequence of keyboard shortcuts:

  1. Alt-Tab to Git GUI
  2. F5 to refresh changed file list
  3. Ctrl-I to put all changed files into stage
  4. Type commit messages
  5. Ctrl-Enter to commit
  6. Ctrl-P to push to GitHub

comments powered by Disqus