mapillary-js/scripts/push-docs.sh
2021-02-24 11:03:46 +01:00

16 lines
284 B
Bash
Executable File

#!/bin/sh
yarn run build-docs
git checkout -- .
git checkout gh-pages
cp -Rf ./docs/build/. ./
git add assets/
git add classes/
git add enums/
git add interfaces/
git add globals.html
git add index.html
git commit -m "Update documentation"
git push origin gh-pages
git checkout main