mapillary-js/scripts/push-docs.sh
Kamil Nikel 062bba6670 Add push-docs script
This script generates, checks in and pushes documentation to gh-pages branch
2016-01-13 13:55:26 +01:00

11 lines
201 B
Bash
Executable File

#!/bin/sh
gulp documentation
git checkout -- .
git checkout gh-pages
\cp -rf docs-out/index.html index.html
git add index.html
git commit -m "Update docs"
git push origin gh-pages
git checkout master