Watch 140 Star 702 Fork 140

百度开源 / amisTypeScript

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download 603 Bytes
Copy Edit Raw Blame History
set -e
rm -rf gh-pages
echo "Cloning"
git clone -b gh-pages --depth=1 https://$ gh-pages
rm -rf gh-pages/*
echo "building"
node ./scripts/generate-search-data.js
npm run build-schemas
fis3 release gh-pages -c
cp ./schema.json ./gh-pages
# 不走 cdn 了
# node ./scripts/upload2cdn.js $1 $2
echo "pushing"
cd gh-pages
git config ""
git config "liaoxuezhi"
git add . -A
git commit --allow-empty -m "自动同步 gh-pages"
git push --tags https://$ gh-pages
echo "done"

Comment ( 0 )

Sign in for post a comment