diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 2f3c1b3..c375e54 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,6 +14,11 @@ jobs: - name: Install Railway CLI run: npm i -g @railway/cli + - name: Check Token Presence + run: if [ -z "$RAILWAY_TOKEN" ]; then echo "TOKEN IS MISSING"; exit 1; fi + env: + RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} + - name: Deploy to Railway # Added --verbose to see the real error run: railway up --ci --service "runner-bridge" --verbose