lucasdachman
HOBBYOP
7 months ago
I have a github action that generates needed files during CI. These files are git-ignored but I need them deployed. How can I accomplish this?
4 Replies
7 months ago
Use the --no-gitignore flag
7 months ago
Thanks! That would work if I wanted to un-ignore all the ignored files, but I only want to deploy a subset. My current workaround is just to use a script in my CI that removes that line from the .gitignore for deployment.
6 months ago
Add a .railwayignore file for any files you want only railway up to ignore, and then use the --no-gitignore flag so that the CLI will only ignore what you have set in your .railwayignore file.
Status changed to Solved medim • 6 months ago