mapillary-js/scripts/push-docs.sh
2016-07-27 14:55:26 -04:00

16 lines
280 B
Bash
Executable File

#!/bin/sh
npm run build-docs
git checkout -- .
git checkout gh-pages
cp -Rf ./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