R
Railway6mo ago
ENA

Leaving files during redeployment

I have an nodejs application that generates an json file to store a list of subscribers. I don't want this to be uploaded on github and I want this to not reset during redeployment. Is there a way to keep some files when I change some code and the application rebuilds?
Solution:
yes! store those files in a volume - https://docs.railway.app/guides/volumes
Jump to solution
3 Replies
Percy
Percy6mo ago
Project ID: 8499c1c2-d5c8-4fcc-a836-d35457a810f3
ENA
ENAOP6mo ago
8499c1c2-d5c8-4fcc-a836-d35457a810f3
Solution
Brody
Brody6mo ago
yes! store those files in a volume - https://docs.railway.app/guides/volumes
Want results from more Discord servers?
Add your server