From 501e1924aa6a63aadf5814bcf0e916c50091a342 Mon Sep 17 00:00:00 2001 From: shreyabhandari0220 <115904795+shreyabhandari0220@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:25:25 -0400 Subject: [PATCH] Update deploy-content-staging.yml --- .github/workflows/deploy-content-staging.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-content-staging.yml b/.github/workflows/deploy-content-staging.yml index 684e1fdfbb2..c7329efe682 100644 --- a/.github/workflows/deploy-content-staging.yml +++ b/.github/workflows/deploy-content-staging.yml @@ -49,9 +49,13 @@ jobs: run: mkdir -p content-staging-build/src/content-sources/oatutor/Content - name: Run content update script - run: | - cd content-staging-build/src/content-sources/oatutor/Content - python3 /home/runner/work/OATutor-Tooling/content_script/final.py online full + uses: softrams/steps-retry-action@v2 + with: + retryCount: 4 + timeBetweenRetries: 60 + command: | + cd content-staging-build/src/content-sources/oatutor/Content + python3 /home/runner/work/OATutor-Tooling/content_script/final.py online full - name: Move and prepare files run: |