a year ago
Is it possible to manually upload files to a deployment? I have a public GitHub repository that holds my (yaml) configuration file what I wish to not be public. Is there a way to manually upload the file onto railway without it being present in the repo?
0 Replies
a year ago
bdf52ca3-6199-4fdc-b415-bc60d97ba135
a year ago
🤔 one possible way might be by uploading it to a volume, you can use Brody's filebrowser template for that, your script can then just fetch it from the volume
a year ago
Hm, I see. Do you have a link to this?
a year ago
Volume Documentation:
Filebrowser Template:
For the filebrowser template, you'd want to:
Deploy it inside of your project by right clicking and adding a Template from there
Set
USE_VOLUME_ROOT
to1
when deploying
To use it, delete the volume it comes with, attach the volume of your service
this will let you alter the files in the volume once you go to the templates site
once you're done, reconnect it to your main service