diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 74b73f8..01e9167 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,19 +11,21 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Install Railway CLI - run: railway --version + #- name: Install Railway CLI + #run: railway --version # # Manually add the npm global bin to the PATH # export PATH=$(npm prefix -g)/bin:$PATH # railway --version - name: Check Token Presence run: if [ -z "$RAILWAY_TOKEN" ]; then echo "TOKEN IS MISSING"; exit 1; fi - env: + env:4 RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} - name: Deploy to Railway # Added --verbose to see the real error - run: railway up --ci --service "runner-bridge" --verbose + run: | + npm install @railway/cli + npx railway up --ci --service "runner-bridge" --verbose env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}