From fad7b807e9be7b8778718bcbe52beb62c41bb7aa Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Wed, 18 Sep 2024 11:21:42 +0200 Subject: [PATCH] do not launch new deploy --- .github/workflows/review-app-creation.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/review-app-creation.yml b/.github/workflows/review-app-creation.yml index c921bfbf35..71c6fea039 100644 --- a/.github/workflows/review-app-creation.yml +++ b/.github/workflows/review-app-creation.yml @@ -92,7 +92,12 @@ jobs: esac ' git push review_app $BRANCH:master - $CLEVER_CLI deploy --branch $BRANCH --force --same-commit-policy rebuild + OUTPUT="IN PROGRESS"; + while [[ $OUTPUT == *"IN PROGRESS"* ]]; do + sleep 5; + OUTPUT=`$CLEVER_CLI activity`; + echo $OUTPUT + done - name: 🍻 Add link to pull request uses: thollander/actions-comment-pull-request@v2.5.0