Check master branch status before commit to gh-pages.