mirror of
https://github.com/langyuxiansheng/vue-aliplayer-v2.git
synced 2025-04-06 03:57:55 +08:00
更新
This commit is contained in:
parent
5606241831
commit
c702922880
11
t.sh
11
t.sh
@ -10,10 +10,15 @@ npm publish;
|
|||||||
|
|
||||||
# 更新gh-pages
|
# 更新gh-pages
|
||||||
|
|
||||||
|
|
||||||
git branch -D gh-pages;
|
git branch -D gh-pages;
|
||||||
|
|
||||||
|
echo "删除gh-pages";
|
||||||
|
|
||||||
git checkout -b gh-pages;
|
git checkout -b gh-pages;
|
||||||
|
|
||||||
|
echo "创建并切换到gh-pages";
|
||||||
|
|
||||||
git add -f dist;
|
git add -f dist;
|
||||||
|
|
||||||
git commit -m 'create gh-pages';
|
git commit -m 'create gh-pages';
|
||||||
@ -22,5 +27,9 @@ git push origin -d gh-pages;
|
|||||||
|
|
||||||
git subtree push --prefix dist origin gh-pages;
|
git subtree push --prefix dist origin gh-pages;
|
||||||
|
|
||||||
|
echo "已推送gh-pages";
|
||||||
|
|
||||||
# 推送完成后切换回master
|
# 推送完成后切换回master
|
||||||
git checkout master;
|
git checkout master;
|
||||||
|
|
||||||
|
echo "切换回master";
|
Loading…
x
Reference in New Issue
Block a user