Does `railway up` rely on gitignore?

So I have a workflow where in github actions would copy a config file from the config/ folder to the root directory before calling on railway up for deployment Originally, this config file is stored in the root dir and not declared in the gitignore. Deployment works fine as the application was able to read the config file Then I introduced the copying flow, deleted original config file from the root, added the config.yml in the gitignore, deployed but failed as the application cannot find the file I then reverted the changes. Pushed the config.yml back to the root, but still introduced the copying flow, removed the config.yml from the gitignore, and alas the deployment worked fine. Then I redefined the config.yml back to the gitignore and again the deploment failed as the app cannot read the specified file I also made sure in the workflow that the file is being copied propery. What seems to be the reason here? Project ID: 4ba8576b-8137-47c9-8fb8-030cbb223977
Solution:
yes railway up respects the rules in the .gitignore
Jump to solution
2 Replies
Percy
Percy9mo ago
Project ID: 4ba8576b-8137-47c9-8fb8-030cbb223977
Solution
Brody
Brody9mo ago
yes railway up respects the rules in the .gitignore
Want results from more Discord servers?
Add your server