ci: install github deploy source with npm
This commit is contained in:
parent
80452beb49
commit
41cae90127
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -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}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user