Files
smart-table/deploy/index.sh
2020-01-31 19:44:16 +08:00

17 lines
245 B
Bash

#!/usr/bin/env sh
set -e
npm run example
cd docs
git init
git config user.name 'pengyajun'
git config user.email 'pyj92055@163.com'
git add -A
git commit -m 'deploy'
git push -f git@github.com:peng92055/smart-table.git master:gh-pages
cd -