From b0aee17e919388b8dc34daedd9bc84017b5b9da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 29 Nov 2021 18:20:28 +0800 Subject: [PATCH] update --- update_image.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 update_image.sh 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 服务发布成功"