vuepress-theme-reco/scripts/test.sh
2020-07-09 13:27:42 +08:00

15 lines
215 B
Bash

npm run build
cd example/public
git init
git add -A
date=`date +%Y-%m-%d_%H:%M:%S`
git commit -m "deploy ${date}"
git push -f git@gitee.com:recoluan/reco-example-test.git master
cd ../../
rm -rf example/public