Any idea how to work with github submodules?

akhil-naidu
PRO

a year ago

Vercel is supporting auto submodule when cloning the repo, though railway is not supporting is there a way I can achive it by using some sort of script or railway.json file?

2 Replies

akhil-naidu
PRO

a year ago

N/A


a year ago

your best bet would be to write a Dockerfile that achieves your desired functionalities


akhil-naidu
PRO

a year ago

No other way around?


a year ago

I'm sure you could throw together a nixpacks.toml file to achieve your desired functionality, but a Dockerfile is going to give you far more control over the build process


tp-up
PRO

a year ago

can you give an example of a nixpacks.toml file that would achieve pulling of submodules?

we work with submodules and an would appreciate a solution :)


markwitt1
PRO

2 months ago

Any update on this?