Skip to content

Commit b15485b

Browse files
committed
Update release workflow: add aloglia update step
1 parent de064e7 commit b15485b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,16 @@ jobs:
5151
git --git-dir=gh-pages/.git --work-tree=gh-pages/ add .
5252
git --git-dir=gh-pages/.git --work-tree=gh-pages/ commit -m "docs: release"
5353
git --git-dir=gh-pages/.git --work-tree=gh-pages/ push
54+
# We don't know when the site will be deployed, we just wait a few seconds
55+
# Better solutions can be found
56+
delay:
57+
needs: build
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Delay for 120 seconds
61+
run: sleep 120s
62+
index:
63+
needs: [build, delay]
64+
uses: ./.github/workflows/algolia.yml
65+
with:
66+
delete_index: true

0 commit comments

Comments
 (0)