Deployment jobs#
deploy-api
#
Triggers two separate workflows using workflow_dispatch
that deploys the
staging environment of the API service and the thumbnails-specific API
deployment to AWS ECS. That workflows are given two inputs.
the tag of the image that was published by the
publish-images
job, which is the output of theget-image-tag
jobthe actor of the CI + CD workflow, for tagging them in Slack messages
The deployments are only triggered if all the following conditions are met.
the API codebase has changed
the
publish-images
job has passed, publishing the latest frontend image to GHCRThe fact that
publish-images
ran impliestest-api
passed.
deploy-frontend
#
Triggers a separate workflow using workflow_dispatch
that deploys the staging
environment of the frontend service to AWS ECS. That workflow is given two
inputs.
the tag of the image that was published by the
publish-images
job, which is the output of theget-image-tag
jobthe actor of the CI + CD workflow, for tagging them in Slack messages
This deployment is only triggered if all the following conditions are met.
the frontend codebase has changed
the
playwright
job has passed, implying no visual regressions have occurredthe
publish-images
job has passed, publishing the latest frontend image to GHCRThe fact that
publish-images
ran impliesnuxt-build
passed.