newscorp-ghfb/NewsKit

Improve main deployments

Closed this issue · 0 comments

jps commented

Description

Currently the prod deployment can complete before prod, this could cause issues if there are changes to the job and S3 deployments start failing for whatever reason.

image

Detail what the piece of work is, referencing any relevant components

Tasks/Steps

Add requirement for dev/stage deploy to have finished before prod deploy starts
Also, we can speed up the pipeline by starting the build docs prod job earlier, currently, this is running after deploy_to_s3_staging

Acceptance Criteria

Stage should only be deployed once dev is complete
Prod should only be deployed once stage is complete