mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
只需要 clone 最近一次
This commit is contained in:
parent
8d4969c84a
commit
d594d4ccdd
@ -4,7 +4,7 @@ set -e
|
||||
rm -rf gh-pages
|
||||
|
||||
echo "Cloning"
|
||||
git clone -b gh-pages https://$GH_TOKEN@github.com/baidu/amis.git gh-pages
|
||||
git clone -b gh-pages --depth=1 https://$GH_TOKEN@github.com/baidu/amis.git gh-pages
|
||||
|
||||
echo "building"
|
||||
node ./scripts/generate-search-data.js
|
||||
|
@ -4,7 +4,7 @@ set -e
|
||||
rm -rf npm
|
||||
|
||||
echo "Cloning"
|
||||
git clone -b npm https://$GH_TOKEN@github.com/baidu/amis.git npm
|
||||
git clone -b npm --depth=1 https://$GH_TOKEN@github.com/baidu/amis.git npm
|
||||
|
||||
echo "building"
|
||||
sh publish.sh
|
||||
|
Loading…
Reference in New Issue
Block a user