diff --git a/.github/workflows/algolia.yml b/.github/workflows/algolia.yml index 233f9f3d..ec344801 100644 --- a/.github/workflows/algolia.yml +++ b/.github/workflows/algolia.yml @@ -16,13 +16,13 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 - - name: Wait for Netlify deployment + - name: Wait for pages deployment if: github.event_name != 'workflow_dispatch' - uses: probablyup/wait-for-netlify-action@3.2.0 + uses: lewagon/wait-on-check-action@v1.3.1 with: - site_id: ${{ secrets.NETLIFY_SITE_ID }} - env: - NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} + ref: ${{ github.ref }} + check-name: Deploy to GitHub Pages + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Trigger Algolia crawl uses: algolia/algoliasearch-crawler-github-actions@v1 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index da440fa5..6f12792c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,6 +29,7 @@ jobs: path: build deploy: + # when you change the name of this job, also update the algolia workflow name: Deploy to GitHub Pages needs: build