Simple recipe to ask confirmation from user before continuing with deployment.
Either install all Studio 24 tasks or install this individual task by adding to your deploy.php
:
require 'vendor/studio24/deployer-recipes/tasks/confirm-deployment.php';
No configuration required.
confirm-continue
– Requires user input to continue y/N (Default N)
This automatically runs in the pre deploy tasks.
You can also add this task to your deploy.php
script wherever confirmation is required:
task('my-task', [
...
'confirm-continue',
...
]);