Created
September 25, 2016 14:29
-
-
Save nukosuke/d780bf150c4ac087c4972e1f903b811a to your computer and use it in GitHub Desktop.
annict.jsのドキュメント生成&公開スクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
npm install && \ | |
npm run docs && \ | |
git checkout gh-pages && \ | |
rm -rf classes interfaces assets index.html && \ | |
mv ./docs/* . && \ | |
rmdir docs && \ | |
git add . && \ | |
git commit -m "build $(git describe --abbrev=0 master) document : $(date)" && \ | |
git push origin gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment