From b92ef60a14a7c7bbc6449cd2d89c47da9324368e Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Tue, 21 Jan 2025 00:58:41 +0800 Subject: feat(tool): add update-blog. --- tools/cru-py/update-blog | 2 -- tools/update-blog | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 tools/cru-py/update-blog create mode 100755 tools/update-blog diff --git a/tools/cru-py/update-blog b/tools/cru-py/update-blog deleted file mode 100644 index e4a25ab..0000000 --- a/tools/cru-py/update-blog +++ /dev/null @@ -1,2 +0,0 @@ -#! /usr/bin/env sh -exec python3 "$(dirname "$0")/aio.py" update-blog "$@" diff --git a/tools/update-blog b/tools/update-blog new file mode 100755 index 0000000..5314f47 --- /dev/null +++ b/tools/update-blog @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -e + +exec docker exec -it blog /scripts/update.bash -- cgit v1.2.3