Is it possible to run tasks in parallel on the same host? #2583
Unanswered
dingo-d
asked this question in
Help needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a setup where I need to deploy WordPress multisite themes, to the same host. I have 3 different themes that need to be built and then deployed.
But because every theme has a bundling process (
npm install
and thennpm run build
, with some cleanup) andcomposer install
step, this all ends up taking a considerable time to finish.I'm wondering if the parallel option can be used for the parallel execution of tasks? Or would that require something like swoole to run? Because deployer is a php script at the end of the day.
It would be cool if it would be possible to have
And those three tasks, when called inside the
would run in parallel, and once all are done, the
release
task would run, etc.Is something like this possible, or not?
I'm not sure how the existing parallel option works, but it seems to me it's only useful if one is deploying to multiple hosts.
Beta Was this translation helpful? Give feedback.
All reactions