I have checked on the documentation and I’m not sure it’s possible so I’m asking: Is it possible to manually run a build remotely (on netlify, not on my machine).
I would like to run “netlify build” with a custom context on netlify (because it’s super fast). I don’t know if it’s good but I have multiple context like: E2E, staging, production, … And I would like to test my react application on these 3 “api” environment (the api endpoint change, but also some other configurations)
Right now, I think I only can:
- Build locally with a context
- Let netlify build the app (and deploy) for me. But then, I can’t switch context (and the api endpoint)
Is there another solution?
I also would like to set a custom environment variable for a build, but I don’t think I can.
Could you confirm?