6 Star 2 Fork 0

熊有盛/amis-child-react

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deploy-gh-pages.sh 734 Bytes
一键复制 编辑 原始数据 按行查看 历史
liaoxuezhi 提交于 2019-09-30 21:53 . +x
#!/bin/bash
set -e
if [ -z "$(git status --porcelain)" ]; then
# Working directory clean
echo "Working directory clean"
else
# Uncommitted changes
read -p "You got uncommitted changes, press y to continue? " -n 1 -r
echo # (optional) move to a new line
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "Skiped!"
[[ "$0" == "$BASH_SOURCE" ]] && exit 1 || return 1 # handle exits from shell or function but don't exit interactive shell
fi
fi
rm -rf gh-pages
fis3 release gh-pages -c
node ./upload2cdn.js $1
git add gh-pages -f
git commit -m "更新 gh-pages"
git push
git subtree push --prefix gh-pages origin gh-pages
git commit -m 'rebuild pages' --allow-empty
git push origin
echo "done"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xysgit/amis-chiild-react.git
git@gitee.com:xysgit/amis-chiild-react.git
xysgit
amis-chiild-react
amis-child-react
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385