The following line will push the dist folder to the gh-pages branch. Use when deploying! git subtree push --prefix dist origin gh-pages