Skip to content

Refactor /publish to use a designated service rather than queue a worker

What does this MR do?

This adds the ability to pass an action to StatusPage::TriggerPublishService.

This allows us to intentionally skip some checks depending on the action being taken; in this case publishing via a quick action.

This change keeps the logic of if a Status Page can be uploaded to S3 within the StatusPage::TriggerPublishService, rather than enqueuing the worker manually.

Closes #219266 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Peter Leitzen

Merge request reports