pages-core
pages-core copied to clipboard
Update build-task enqueu function to kick off tasks via a queue-job convention
Update the creation of a build task queue job by using the queue-job convention.
Acceptance Criteria
- [ ] Create a
startBuildTask
function in./api/queue-job
to add a new build task job - [ ] Update the
build-task
model enqueue method to use thestartBuildTask
- [ ] Move db query logic and message creation to the build task job processor