- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
netlify deploy uploads stuff.
sometimes i just want to trigger deploy. maybe call it netlify trigger? optionally have it accept netlify trigger deploy just for fun?
this is needed so that we dont have to jump back to the web UI when demoing addons (or really anything else using CLI in future)
sometimes people may type netlify deploy when they actually mean to netlify trigger (i certainly would). might want to add a "you may want.." message in "netlify deploy" to minimize surprise/guide people to what they mean to do
Seems like this happens when you git push
Is this issue still relevant? 😃
what if i dont have any git changes but still want to rebuild for content reasons?
I see. So external content changes (like contentful)
Yeah makes sense.
How does this command sound to you?
netlify deploy:trigger
// or
netlify deploy --trigger
This way we keep top level api smaller
i like the second option
edit from 2020: actually i take that back, i would rather netlify deploy:trigger but i'm honestly not super opinionated about it
Hey @sw-yx, I’m not understanding the nuance of a trigger versus a deploy?
Is there a way I can have Netlify simply ship the build folder from my GitHub instead of having them download my yarn project and build it everytime? (This is slower than desired because I’m using playwright — large binary — for e2e testing)
This looks related but I’m not sure the feature was added or not. 🤷♂️
sorry, no I don't think so. just have to re trigger in UI.
Clarifying the use case on this:
Given I have the local repo of a statically-generated site, and I want to re-trigger a build on Netlify.
Currently I have no way to do this with the CLI, and I need to go on the admin interface to do it.
Fair to leave this open, even if we don’t yet have a path forward.
Sent with GitHawk
Amazing reactivity guys! 🙏