From 51b4cc92dee9c602b2c1f3b7f19da13694d910a7 Mon Sep 17 00:00:00 2001 From: Dave <43282177+helloitsdave@users.noreply.github.com> Date: Sun, 3 Mar 2024 14:03:58 +0000 Subject: [PATCH] Github action (#30) * [actions] Updating render action to wait for deployment --- .github/workflows/frontend-service-tests-deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/frontend-service-tests-deploy.yml b/.github/workflows/frontend-service-tests-deploy.yml index bf7c36a4..d916bd42 100644 --- a/.github/workflows/frontend-service-tests-deploy.yml +++ b/.github/workflows/frontend-service-tests-deploy.yml @@ -60,4 +60,12 @@ jobs: with: service-id: ${{ secrets.MY_RENDER_SERVICE_ID_FE }} api-key: ${{ secrets.MY_RENDER_API_KEY }} - wait-for-success: true + + - name: Wait for Render Deployment + uses: bounceapp/render-action@0.6.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + service-id: ${{ secrets.MY_RENDER_SERVICE_ID_FE }} + retries: 20 + wait: 60000 + sleep: 30000 \ No newline at end of file