1 Star 0 Fork 0

bad/Jekyll_bad

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
blog.sh 432 Bytes
一键复制 编辑 原始数据 按行查看 历史
bad 提交于 2023-05-18 23:15 +08:00 . 上传主题
#!/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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/badqi/jekyll_bad.git
[email protected]:badqi/jekyll_bad.git
badqi
jekyll_bad
Jekyll_bad
master

搜索帮助