manager-job/publish_knowledge_dist.sh

9 lines
255 B
Bash
Raw Normal View History

2021-11-16 15:38:48 +08:00
#!/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 服务发布成功"