Files from a git submodule not found
PID: a45af505-1c73-4eb1-82a2-a15c9c5bd2f8
Hi,
I've added a repo from GitHub as a submodule. Locally, it works fine. But when I push the changes, Railway doesn't seem to be able to locate the files (or their directory).
When I manually copy the files to a different folder, it works locally and in Railway.
What am I missing?
5 Replies
Project ID:
a45af505-1c73-4eb1-82a2-a15c9c5bd2f8
You might find these helpful:
- Private git repo as NPM dependency
- Railway doesn't pick up all PRs
- How can I work with the Git repository from my deployment?
⚠️ experimental feature
When I look inside the JAR, the images are there (if that matters).
Is it possible to run
git submodule update --recursive --remote
in Railway?
I have a unit test which checks if a file from the submodule exists, and since the branch builds in Railyway, I assume the test passes. But then durin runtime, the files (its actually images) are not found.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Oh damn that's a big sad moment.