Templates cache old versions of github repositories
ai-made-approachable
HOBBYOP

2 years ago

On discord I was told by @Brody that a template always pull the newest github version if you deploy it to a fresh project. This is sadly not working as intended. Just deployed project: a302b761-0ded-4c28-a2be-630daf88c09a

My upstream repo has the files: https://github.com/ai-made-approachable/chatbot-ui/tree/main/components/sidebar/items/prompts
My newly created source repo is missing the files: https://github.com/ai-made-approachable/chatbot-ui-5/tree/main/components/sidebar/items/prompts

I even recreated the template and used a new one. Also did not invalidate the cache:
Old template: https://railway.app/template/RnCYJL
Freshly created template: https://railway.app/template/XjMVyQ

And the same issue happens if I use the existing "Chatbot UI" railway template by someone else. It also does NOT pull the current main version and fails building because of missing files: https://railway.app/new/template/dSKMsy

Upstream repo: https://github.com/mckaywrigley/chatbot-ui/tree/main/components/sidebar/items/prompts
Soure repo: https://github.com/ai-made-approachable/chatbot-ui-existing-template/tree/main/components/sidebar/items/prompts

Solved

1 Replies

ai-made-approachable
HOBBYOP

2 years ago

Solved. There was a .gitignore file in the original project that included those folders.


Status changed to Solved Railway almost 2 years ago


Loading...