fix(deploy): strip quotes and CR from DEPLOY_PATH
ci / lint-prettier (push) Successful in 3s
ci / lint-ruff (push) Successful in 1s
ci / lint-yaml (push) Successful in 2s
ci / lint-dockerfiles (push) Successful in 1s
ci / validate (push) Successful in 2s
renovate-ci / validate-renovate (push) Successful in 8s
ci / build (push) Successful in 1s
deploy / redeploy (push) Failing after 1s

This commit is contained in:
forust committed 2026-09-23 16:31:06 +02:00
1 parent 34fb6f85ba
commit ac3bf4a55a
1 file changed
+1
+1
View File
@@ -32,6 +32,7 @@ jobs:
deploy_port="${DEPLOY_PORT:-22}" deploy_port="${DEPLOY_PORT:-22}"
deploy_path="${DEPLOY_PATH:-/srv/homelab}" deploy_path="${DEPLOY_PATH:-/srv/homelab}"
deploy_path="$(printf '%s' "$deploy_path" | tr -d '\"' | tr -d '\r' | xargs)"
ssh_key="$RUNNER_TEMP/deploy_key" ssh_key="$RUNNER_TEMP/deploy_key"
mkdir -p "$RUNNER_TEMP" mkdir -p "$RUNNER_TEMP"