Skip to content

Commit

Permalink
Update release workflow: add aloglia update step
Browse files Browse the repository at this point in the history
  • Loading branch information
sabicalija committed Jan 26, 2023
1 parent de064e7 commit b15485b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b15485b

Please sign in to comment.