From 8753b8e59ca7977aa683e858d105ce068c260ec1 Mon Sep 17 00:00:00 2001 From: Hiron Das Date: Tue, 3 Mar 2026 20:12:15 +0000 Subject: [PATCH] Done --- .gitea/workflows/deploy.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c3930fa..f03d134 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -25,8 +25,14 @@ jobs: - name: Deploy to Railway # Added --verbose to see the real error run: | - npm install @railway/cli - npx railway whoami - npx railway up --ci --service "runner-bridge" --verbose + curl -fsSL https://railway.app/install.sh | sh + + # 3. Use the absolute path to the binary + export PATH=$PATH:/root/.railway/bin + + echo "Checking version..." + railway --version echo "Attempting login check..." + railway whoami + railway up --ci --service "runner-bridge" --verbose env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}