12 days ago
i have such a tiny knowledge about programming that i'm hitting myself and now the https://blog.railway.com/p/github-actions guide for "Using Github Actions with Railway" is even hard to understand,
it's not specified where to put the token and
name: Deploy to Railway
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
container: ghcr.io/railwayapp/cli:latest
env:
SVC_ID: my-service-id
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
steps:
- uses: actions/checkout@v3
- run: railway up --service=${{ env.SVC_ID }}
also the name Deploy to Railway needs to be explained more
back to the point- ( personal feedback end) look at the schreenshot, yes i did not alterate the token i pasted it as it is T-T help pls i only have 2 days left to complete the demo
Attachments
7 Replies
12 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
12 days ago
Hey, are there any reasons why you're using GitHub Actions? To simply deploy your application, that's not necessary. Create a service and then tell Railway to deploy it.
12 days ago
If you're still ensure, we've a full documentation on it: https://docs.railway.com/quick-start. Let me know if you've any problems.
passos
Hey, are there any reasons why you're using GitHub Actions? To simply deploy your application, that's not necessary. Create a service and then tell Railway to deploy it.
12 days ago
idk i'm pretty much confused, i need a place where i can work with my team to complete the front-end and my ai suggested git since is all online
i just started using railway for the first time without even some cloud knowledge so a general explanation could be useful thanks
xxshinjiroxx
idk i'm pretty much confused, i need a place where i can work with my team to complete the front-end and my ai suggested git since is all onlinei just started using railway for the first time without even some cloud knowledge so a general explanation could be useful thanks
12 days ago
No problem. I've mentioned that post to the team, as it seems quite outdated and somewhat misleading. We'll be waiting for their response. Anyway, if there's anything else we can improve in the meantime, please let us know.
passos
No problem. I've mentioned that post to the team, as it seems quite outdated and somewhat misleading. We'll be waiting for their response. Anyway, if there's anything else we can improve in the meantime, please let us know.
12 days ago
1 solve the problem about the action secret, the token is invalid somehow, "Secret names can only contain alphanumeric characters ([a-z], [A-Z], [0-9]) or underscores (_). Spaces are not allowed. Must start with a letter ([a-z], [A-Z]) or underscores (_)" what i do is go to secrets go to actions, secrets, new one and put RAILWAY_TOKEN with the token i get from railway and it gets error, 2 are there other solutions more than git to work with a team? my repository in git is also empty and idk if i have to export the database first
3 i have only programming web skills i just got the database from the template, i just begun ad so i'm pretty much confused on how to connect things
4 at the end i need to know where i can write the front-end with railway even if i can guess i need to go in settings-integrations-vercel, where/what use to write front see it and connect it
really thanks for the help, you are really fast i expected at lest 1 day to wait
edit: i just need the front to write the demo to get the job accepted, so this matter is urgent but when they accept i will have 4 months to learn railway alone, just a few directions about where to start could be really appreciated
xxshinjiroxx
1 solve the problem about the action secret, the token is invalid somehow, "Secret names can only contain alphanumeric characters ([a-z], [A-Z], [0-9]) or underscores (_). Spaces are not allowed. Must start with a letter ([a-z], [A-Z]) or underscores (_)" what i do is go to secrets go to actions, secrets, new one and put RAILWAY_TOKEN with the token i get from railway and it gets error, 2 are there other solutions more than git to work with a team? my repository in git is also empty and idk if i have to export the database first3 i have only programming web skills i just got the database from the template, i just begun ad so i'm pretty much confused on how to connect things4 at the end i need to know where i can write the front-end with railway even if i can guess i need to go in settings-integrations-vercel, where/what use to write front see it and connect itreally thanks for the help, you are really fast i expected at lest 1 day to waitedit: i just need the front to write the demo to get the job accepted, so this matter is urgent but when they accept i will have 4 months to learn railway alone, just a few directions about where to start could be really appreciated
12 days ago
About that error, you're probably inputting the token into the name space.
For the rest of it, follow the docs on how to deploy on Railway: https://docs.railway.com/quick-start#deploying-your-project---from-github. Everything that you're doing now with Github Actions is unnecessary and also the wrong approach.