From f1937637fc334ceaa1ac359f09f4e54083fdc946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Tue, 16 Nov 2021 15:38:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0knowledge-dist=20job=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish_knowledge_dist.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 publish_knowledge_dist.sh 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 服务发布成功"