1 Star 0 Fork 0

orangepro11/my-awesome-site

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
blog.sh 432 Bytes
一键复制 编辑 原始数据 按行查看 历史
YangZiYi 提交于 2023-12-13 01:31 . Initial commit
#!/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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/orangepro11/orangepro11.git
git@gitee.com:orangepro11/orangepro11.git
orangepro11
orangepro11
my-awesome-site
main

搜索帮助

Cb406eda 1850385 E526c682 1850385