From 41cae90127ab798ef66320f314280cb50a5dba75 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Sat, 6 Jun 2026 06:36:07 +0800 Subject: [PATCH] ci: install github deploy source with npm --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b28672c..e78b186 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -163,7 +163,9 @@ jobs: trap rollback ERR install_plugin() { - if command -v openclaw >/dev/null 2>&1; then + if [ "${INSTALL_SOURCE}" = "github" ]; then + npm install -g "${INSTALL_SPEC}" + elif command -v openclaw >/dev/null 2>&1; then openclaw plugins install "${INSTALL_SPEC}" \ || openclaw plugins update "${INSTALL_SPEC}" \ || npm install -g "${INSTALL_SPEC}"