hi-ucs/front/deploy.sh

19 lines
490 B
Bash
Raw Permalink Normal View History

2022-06-14 09:32:49 +08:00
#!/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/chu1204505056/vue-admin-beautiful-mini.git" master:gh-pages
git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-beautiful-antdv.git" master:gh-pages
start "https://gitee.com/chu1204505056/vue-admin-beautiful-mini/pages"
start "https://gitee.com/chu1204505056/vue-admin-beautiful-antdv/pages"
cd -
exec /bin/bash