R
Railway•13mo ago
gabe

Using `npx turbo-ignore` to skip deployments

I have a project configured with turborepo, and currently I'm using watch paths to only deploy if there are changes on a specific folder, but I'd like to use turbo-ignore (https://turbo.build/repo/docs/core-concepts/monorepos/skipping-tasks#using-turbo-ignore) to control that, since it is more precise on defining when a package changed. Is it possible to do that?
Turbo
Skipping tasks – Turborepo
Never do the same work twice.
Solution:
you would likely have to inigrate this yourself into a github action, and then if something has changed according to that thing, then do railway up
Jump to solution
8 Replies
Percy
Percy•13mo ago
Project ID: 1a38f728-4c4d-4335-9773-b50fe89d2634
gabe
gabe•13mo ago
1a38f728-4c4d-4335-9773-b50fe89d2634
Solution
Brody
Brody•13mo ago
you would likely have to inigrate this yourself into a github action, and then if something has changed according to that thing, then do railway up
gabe
gabe•13mo ago
ahhh, would be good to have something like vercel's ignore build command (https://vercel.com/docs/projects/overview#ignored-build-step), and depending on the exit code if i'm not mistaken, it skips or not the build
Vercel Documentation
Projects Overview
To deploy on Vercel, you need to create a Project, which groups deployments and custom domains. Learn how to set up and configure projects with this guide.
gabe
gabe•13mo ago
it would provide much more flexibility 😄 but in any case, thank you for the help!
Brody
Brody•13mo ago
didnt know they had that, i like that idea a lot for railway, go and throw it in #🤗|feedback
gabe
gabe•13mo ago
Brody
Brody•13mo ago
awsome!
Want results from more Discord servers?
Add your server