13 lines
263 B
Bash
13 lines
263 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
npm run build
|
|
cd dist
|
|
touch .nojekyll
|
|
git init
|
|
git add -A
|
|
git commit -m 'deploy'
|
|
git push -f "https://${access_token}@gitee.com/lancerdt/lancerdt.git" master:gh-pages
|
|
start "https://gitee.com/lancerdt/lancerdt/page"
|
|
cd -
|
|
exec /bin/bash
|