Skip to content

Apply stage selector to Tideways and Rumvision tasks - #205

Open
poespas wants to merge 1 commit into
masterfrom
apply-stage-selector-after-deploy-tasks
Open

poespas wants to merge 1 commit into
masterfrom
apply-stage-selector-after-deploy-tasks

Conversation

@poespas

@poespas poespas commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

After-deploy tasks now apply setStage() to the task they register (deploy:tideways / deploy:rumvision), so they only run on that stage.

$production = $configuration->addStage('production', 'example.com');

$tideways = new Tideways(apiKey: getenv('TIDEWAYS_API_KEY'));
$tideways->setStage($production);
$configuration->addAfterDeployTask($tideways);

getStage() is read by DeployRunner::configureDeployerTask() when registering the task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants