diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d4a6ebb..f0f6f73 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: run: pip install pytest==9.1.1 ruff==0.16.9 shellcheck-py==0.11.0.1 - name: shellcheck - run: shellcheck deploy.sh + run: shellcheck deploy.sh remote/*.sh - name: ruff run: | diff --git a/deploy.sh b/deploy.sh index 438afed..bf8b700 100644 --- a/deploy.sh +++ b/deploy.sh @@ -367,6 +367,7 @@ REMOTE_ENV # goes over stdin, so the host needs nothing but bash and docker. echo "[${SERVER}] Reconciling the database (${DATABASE_MODE})..." local db_status=0 + # shellcheck disable=SC2029 # mode, services and version expand here on purpose ssh "$SERVER" "REGISTRY_HOST='${REGISTRY_HOST}' NETORK_VERSION='${SERVER_VERSION}' bash -s -- ${DATABASE_MODE} ${SERVICES}" \ < "${HERE}/remote/database.sh" 2>&1 | sed "s/^/[${SERVER}] /" || db_status=$? if [[ $db_status -ne 0 ]]; then