manager-job/update_image.sh

9 lines
198 B
Bash
Raw Permalink Normal View History

2021-11-29 18:20:28 +08:00
#!/usr/bin/env bash
# 切换到项目目录
# shellcheck disable=SC2164
# shellcheck disable=SC2009
cd "/home/www/htdocs/image" && git reset --hard && git pull
echo "own-image 服务发布成功"