From 51b53ce34393d4796e3354670d7b86e5d07f712f Mon Sep 17 00:00:00 2001 From: erxclau Date: Sun, 10 Nov 2024 20:29:18 -0500 Subject: [PATCH] Remove wait --- .github/workflows/deploy-to-staging.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy-to-staging.yml b/.github/workflows/deploy-to-staging.yml index 25b225b6..485215b9 100644 --- a/.github/workflows/deploy-to-staging.yml +++ b/.github/workflows/deploy-to-staging.yml @@ -53,15 +53,15 @@ jobs: BRANCH: gh-pages FOLDER: _site CLEAN: true - - name: Waiting 4 minutes for staging data deployment - run: | - sleep 240 - - name: Rebuild site - run: | - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.token }}"\ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/STAGING_ORGANISATION/STAGING_SITE_REPOSITORY/actions/workflows/deploy-to-staging.yml/dispatches \ - -d '{"ref":"develop"}' + # - name: Waiting 4 minutes for staging data deployment + # run: | + # sleep 240 + # - name: Rebuild site + # run: | + # curl -L \ + # -X POST \ + # -H "Accept: application/vnd.github+json" \ + # -H "Authorization: Bearer ${{ secrets.token }}"\ + # -H "X-GitHub-Api-Version: 2022-11-28" \ + # https://api.github.com/repos/STAGING_ORGANISATION/STAGING_SITE_REPOSITORY/actions/workflows/deploy-to-staging.yml/dispatches \ + # -d '{"ref":"develop"}'