diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b3b6f77..2f3c1b3 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -15,6 +15,7 @@ jobs: run: npm i -g @railway/cli - name: Deploy to Railway - run: railway up --ci --service "runner-bridge" --path . + # Added --verbose to see the real error + run: railway up --ci --service "runner-bridge" --verbose env: - RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} \ No newline at end of file + RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} diff --git a/.railwayignore b/.railwayignore index 9f97022..f86565b 100644 --- a/.railwayignore +++ b/.railwayignore @@ -1 +1,3 @@ -target/ \ No newline at end of file +target/ +.git/ +.gitea/ diff --git a/railway.json b/railway.json index a95c7b7..94f5ed1 100644 --- a/railway.json +++ b/railway.json @@ -1,3 +1,11 @@ { - "build": { "builder": "DOCKERFILE" } + "$schema": "https://railway.app", + "build": { + "builder": "DOCKERFILE", + "dockerfilePath": "Dockerfile" + }, + "deploy": { + "numReplicas": 1, + "sleepService": false + } }