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

Deployment to multiple Machines #5

Closed
KKrisu opened this issue Mar 26, 2013 · 1 comment
Closed

Deployment to multiple Machines #5

KKrisu opened this issue Mar 26, 2013 · 1 comment

Comments

@KKrisu
Copy link

KKrisu commented Mar 26, 2013

Is this possible to deploy to multiple servers at once?

@thrashr888
Copy link
Owner

Hi, I don't personally have that use-case in my projects. One option could be to have two sftp tasks with the same list of files, with a grunt task alias that just calls both of the sftp tasks. That's not really "at once" but the file copies are made in serial, not parallel, so you'll get the same result even if the plugin code was changed to add the multiple server feature.

That said, you can try using another grunt plugin to manage running tasks in parallel. I found one here https://github.com/iammerrick/grunt-parallel . There's also this grunt issue, I'm not sure where it ended up: gruntjs/grunt#527

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

No branches or pull requests

2 participants