Our current "Build and Push Docker Image to Lightsail" action doesn't wait to see if the deployment was actually successful or not, which has caught us by surprise a couple of times now.
Acceptance criteria
- there should be another step in the action to poll lightsail for the deployment status that blocks until the status is "RUNNING".
- If the deployment fails the job should fail too.
note that lightsail automatically reverts to the most recent successful deployment on failure, so we'll need to make sure we're not accidentally getting a "RUNNING" status from a prior deployment. we also might need to update the permissions of the GH-action-garden-backend-lightsail-deployer role.