From b15485baae5bbbbfc8fc1d4a6fe5774302976b79 Mon Sep 17 00:00:00 2001 From: Alija Sabic Date: Fri, 27 Jan 2023 00:47:34 +0100 Subject: [PATCH] Update release workflow: add aloglia update step --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a2cce573b..ecc35053b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,3 +51,16 @@ jobs: git --git-dir=gh-pages/.git --work-tree=gh-pages/ add . git --git-dir=gh-pages/.git --work-tree=gh-pages/ commit -m "docs: release" git --git-dir=gh-pages/.git --work-tree=gh-pages/ push + # We don't know when the site will be deployed, we just wait a few seconds + # Better solutions can be found + delay: + needs: build + runs-on: ubuntu-latest + steps: + - name: Delay for 120 seconds + run: sleep 120s + index: + needs: [build, delay] + uses: ./.github/workflows/algolia.yml + with: + delete_index: true