R
Railway•13mo ago
devon

Railway not seeing updates to upstream (public) repository

I am connected to a public GitHub repo. When first connected, it properly deploys as expected. However, the repo recently had a pull request merged to main, and yet when I go in Railway settings and click 'Check for Updates' it says 'You're on the latest version of this repository'. So this means I'm effectively stuck on the previous version of the repo. I originally connected it using CMD+K to paste the public GitHub repo link, and it connected well this way. To make matters stranger, the first PR that was merged to main after that was seen by Railway when I checked for updates, so I was able to get those updates, but nothing since. Am I doing something wrong? Is there something further to do to ensure that you get updates when connected to a public upstream repo?
No description
10 Replies
Percy
Percy•13mo ago
Project ID: N/A
devon
devonOP•13mo ago
Perhaps of note, the latest PR only changes the /nixpacks.toml file in the public repo. Maybe this didn't meet a threshold for changes? My 'Root directory' is the default / though so I don't really see this being the issue. In fact my whole project uses default settings except the start command and having environment variables. project ID: a9d9c589-b108-418d-951e-f5817ea3bc1f
devon
devonOP•13mo ago
Further, when I click 'Connect Environment to Branch' under Git Repository, I get the attached error. It's definitely connected though as under 'Source Repo' and 'Linked to Upstream repo' (see my OP) it properly shows the repo connected, and when you click that you go to the public repo's location, where you can see the changes that Railway is missing. I'm guessing this is for actually connecting to your own repo, which is not what I'm doing.
No description
Brody
Brody•13mo ago
hiding the repo is not doing you any favours 😆
devon
devonOP•13mo ago
It's just a regular old public repo, I'll ping it to you.
Brody
Brody•13mo ago
what does ping it to me mean
devon
devonOP•13mo ago
DM, just sent.
devon
devonOP•13mo ago
I'm actually wondering if this is the problem. I noted that in railway the 'default' for watch paths appears to be src/**, which would by definition ignore the main folder where the nixpacks config file is... I'm going to experiment by changing this to ** and see if it then picks up the next change to the repo.
No description
Brody
Brody•13mo ago
#🛂|readme #5 thats not a default, thats a placeholder https://www.w3schools.com/tags/att_input_placeholder.asp
devon
devonOP•13mo ago
Ok well then not sure what else could cause it.
Want results from more Discord servers?
Add your server