You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
370 B

#! /bin/sh
set -e
rm -rf docs
./node_modules/.bin/dox-foundation --source lib --target docs --title Ascoltatori
git stash
rm -rf /tmp/mosca-docs
cp -R docs /tmp/mosca-docs
git checkout gh-pages
git pull origin gh-pages
rm -rf docs
cp -R /tmp/mosca-docs docs
git add -A docs
git add -u
git commit -m "Updated docs" -n
git push origin
git checkout master
git stash apply