diff --git a/action.yaml b/action.yaml index 21f8651..2df74f2 100644 --- a/action.yaml +++ b/action.yaml @@ -478,8 +478,10 @@ runs: run: | echo ::group::Override to wake up the Deployment astro deployment wake-up ${{steps.deployment-preview.outputs.FINAL_DEPLOYMENT_ID}} --force - # Give it some time to wake up - sleep 60 + # Wait for the deployment to wake up + while [ "$(astro deployment inspect cm2ope6zv037201jc1tbgb1yt --clean-output --key metadata.status)" == "HIBERNATING" ] + sleep 5 + done echo ::endgroup:: shell: bash - name: DAG Deploy to Astro