diff --git a/update_image.sh b/update_image.sh new file mode 100644 index 0000000..415d02c --- /dev/null +++ b/update_image.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# 切换到项目目录 +# shellcheck disable=SC2164 +# shellcheck disable=SC2009 +cd "/home/www/htdocs/image" && git reset --hard && git pull + +echo "own-image 服务发布成功"