mapillary-js/scripts/push-docs.sh
Oscar Lorentzon 90fa0bae0f Build everything to dist folder.
Node server does not need build folder because it generates
javascript and sourcemap on the fly.
2016-07-13 07:08:49 -04:00

16 lines
284 B
Bash
Executable File

#!/bin/sh
npm run build-docs
git checkout -- .
git checkout gh-pages
\cp -rf -a ./docs/. ./
git add assets/
git add classes/
git add enums/
git add interfaces/
git add globals.html
git add index.html
git commit -m "Update docs [ci skip]"
git push origin gh-pages
git checkout master