diff --git a/publish_knowledge_dist.sh b/publish_knowledge_dist.sh new file mode 100644 index 0000000..1020190 --- /dev/null +++ b/publish_knowledge_dist.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# 切换到项目目录 +# shellcheck disable=SC2164 +# shellcheck disable=SC2009 +cd "/home/www/htdocs" && rm -rf knowledge-dist && git clone www@git.zhangdeman.cn:zhangdeman/knowledge-dist.git + +echo "knowledge-dist 服务发布成功"