publish - nonlinear/canvas GitHub Wiki
Publishing pushes your ./dist folder only (as root) to the gh-pages branch.
Your published page is always {username}.github.com/{repository}
GitHub pages is a free service.
Usage
- To publish your distribution file, just run
gulp publishand it will:- unCSS your file
- add inline css rules to any
mail-*.htmlfile (for proper email template) - push
./distfolder togh-pagesbranch (with timestamp as commit)
Limitations and troubleshooting
- It only works if your distribution folder is
./dist(as default) - If somehow it breaks, delete folder
.publish/and try again - If for any reason you need to rename your distribution folder, check root instructions.