1 Star 0 Fork 1

liqf / grpc.io

forked from mirrors_grpc / grpc.io 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
deploy.sh 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
lucperkins 提交于 2019-04-22 18:07 . Add contents of new site repo
#!/bin/bash
echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"
# Build the project.
hugo # if using a theme, replace with `hugo -t <YOURTHEME>`
# Go To Public folder
cd public
# Add changes to git.
git add .
# Commit changes.
msg="rebuilding site `date`"
if [ $# -eq 1 ]
then msg="$1"
fi
git commit -m "$msg"
# Push source and build repos.
git push origin master
# Come Back up to the Project Root
cd ..
1
https://gitee.com/fygit/grpc.io.git
git@gitee.com:fygit/grpc.io.git
fygit
grpc.io
grpc.io
master

搜索帮助