From 8cf6ef30ea620805deb631b169b12f66c150677f Mon Sep 17 00:00:00 2001 From: E Date: Fri, 2 Oct 2026 10:45:11 -0400 Subject: [PATCH] ci: cd into live/ for railway up (runner treats path args as repo-root context) --- .github/workflows/deploy-railway.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-railway.yml b/.github/workflows/deploy-railway.yml index a841403..793e7ad 100644 --- a/.github/workflows/deploy-railway.yml +++ b/.github/workflows/deploy-railway.yml @@ -25,9 +25,10 @@ jobs: # GITHUB_EVENT_BEFORE is empty on some push events; treat that as # "deploy" rather than erroring on a bad revision if [ -z "$GITHUB_EVENT_BEFORE" ] || ! git diff --quiet "$GITHUB_EVENT_BEFORE" "$GITHUB_SHA" -- live/ 2>/dev/null; then - npx -y @railway/cli@latest up --project 11f1d169-3b88-40e7-a054-f4b79e89c138 \ + cd "$GITHUB_WORKSPACE/live" && npx -y @railway/cli@latest up \ + --project 11f1d169-3b88-40e7-a054-f4b79e89c138 \ --environment e1abb91d-1146-4601-aabf-cfb9a8eef2b2 \ - --service saw --detach "$GITHUB_WORKSPACE/live" + --service saw --detach "$(pwd)" else echo "live/ unchanged - skip" fi