maddsua
maddsua
Explore posts from servers
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
you gotta link a repo to a service first, and then play with the settings a bit
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
umm if you wanna use monorepo support you don't need to configure gh actions, it's configured in railway dashboard
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
unbelievable but there are people who don't deploy everything to railway
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
real
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
because at the time when I was working on fixing ci mode, adding support for that would involve rewriting too much stuff
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
you need to use service name, not it's id
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
honestly I don't remember if we support account-scoped access tokens and setting project id via a flag atm
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
when running in ci mode you need to provide project token with RAILWAY_TOKEN env var and a service name with --service argument
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
I don't think the cli even has an arg like that
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
may I ask what's the --project argument doing there?
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
you'd only need to update working directory to the one containing your actual code
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
this is how I deploy my stuff to railway
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
well, this should work without an issue
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
two major differences are: 1. use docker image directly instead of installing the cli via npm 2. --service flag that tells to which service to deploy
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
deploy-job:
runs-on: ubuntu-latest
container: ghcr.io/railwayapp/cli:latest
env:
SVC_ID: my-service
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
steps:
- uses: actions/checkout@v3
- run: railway up --service=${{ env.SVC_ID }}
deploy-job:
runs-on: ubuntu-latest
container: ghcr.io/railwayapp/cli:latest
env:
SVC_ID: my-service
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
steps:
- uses: actions/checkout@v3
- run: railway up --service=${{ env.SVC_ID }}
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
Also, you need to provide service name using the respective flag
32 replies
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
Well, you could skip the entire install node/cli part by using the docker image directly
32 replies
RRailway
Created by alanshodan on 10/25/2024 in #✋|help
My N8N project crashed. What happened?
See Brody, it's too confusing We need a proper button
82 replies
RRailway
Created by alanshodan on 10/25/2024 in #✋|help
My N8N project crashed. What happened?
Any luck with dumping the logs?
82 replies
RRailway
Created by alanshodan on 10/25/2024 in #✋|help
My N8N project crashed. What happened?
Now you can troubleshoot the issue
82 replies