Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple command to trigger build #175

Closed
swyxio opened this issue Nov 5, 2018 · 11 comments · Fixed by #760
Closed

simple command to trigger build #175

swyxio opened this issue Nov 5, 2018 · 11 comments · Fixed by #760

Comments

@swyxio
Copy link
Contributor

swyxio commented Nov 5, 2018

- 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)

@swyxio
Copy link
Contributor Author

swyxio commented Nov 5, 2018

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

@bcomnes bcomnes added the feature label Dec 5, 2018
@DavidWells
Copy link
Contributor

Seems like this happens when you git push

Is this issue still relevant? 😃

@swyxio
Copy link
Contributor Author

swyxio commented Jul 2, 2019

what if i dont have any git changes but still want to rebuild for content reasons?

@DavidWells
Copy link
Contributor

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

@swyxio
Copy link
Contributor Author

swyxio commented Jul 3, 2019

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

@zaydek
Copy link

zaydek commented Feb 15, 2020

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)

@zaydek
Copy link

zaydek commented Feb 15, 2020

This looks related but I’m not sure the feature was added or not. 🤷‍♂️

@swyxio
Copy link
Contributor Author

swyxio commented Feb 15, 2020

sorry, no I don't think so. just have to re trigger in UI.

@swyxio swyxio closed this as completed Feb 15, 2020
@joallard
Copy link

joallard commented Mar 4, 2020

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.

@erquhart
Copy link
Contributor

erquhart commented Mar 4, 2020

Fair to leave this open, even if we don’t yet have a path forward.

Sent with GitHawk

@joallard
Copy link

Amazing reactivity guys! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants