3 Star 88 Fork 52

TMaize / tmaize-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
blog.sh 432 Bytes
一键复制 编辑 原始数据 按行查看 历史
TMaize 提交于 2022-05-24 22:13 . update
#!/bin/bash
if test "$1" = "run"; then
port=8080
if [ $2 ]; then
port=$2
fi
bundle exec jekyll serve --watch --host=0.0.0.0 --port=$port
elif test "$1" = "build"; then
bundle exec jekyll build --destination=dist
elif test "$1" = "deploy"; then
bundle exec jekyll build --destination=dist
cos-upload local:./dist blog:/
curl -fL -u freshCDN "https://cloud.page404.cn/api/fresh-cdn/"
else
echo "error param"
fi
HTML/CSS
1
https://gitee.com/tmaize/demo-tmaize-blog.git
git@gitee.com:tmaize/demo-tmaize-blog.git
tmaize
demo-tmaize-blog
tmaize-blog
master

搜索帮助