mirror of
https://github.com/langyuxiansheng/vue-aliplayer-v2.git
synced 2025-04-05 05:32:43 +08:00
更新pages
This commit is contained in:
parent
8903b38c59
commit
3593da7f8e
25
pages.sh
Normal file
25
pages.sh
Normal file
@ -0,0 +1,25 @@
|
||||
echo "打包 => dist";
|
||||
|
||||
# 打包 => dist
|
||||
npm run build;
|
||||
|
||||
# 更新gh-pages
|
||||
echo "更新gh-pages";
|
||||
|
||||
git branch -D gh-pages;
|
||||
|
||||
echo "删除gh-pages";
|
||||
|
||||
git checkout -b gh-pages;
|
||||
|
||||
echo "创建并切换到gh-pages";
|
||||
|
||||
git add -f dist;
|
||||
|
||||
git commit -m 'create gh-pages';
|
||||
|
||||
git push origin -d gh-pages;
|
||||
|
||||
git subtree push --prefix dist origin gh-pages;
|
||||
|
||||
echo "已推送gh-pages";
|
Loading…
x
Reference in New Issue
Block a user