From 144156fe7440b85dc8fc829a1fe1f3cc37ad5f36 Mon Sep 17 00:00:00 2001 From: philip-ellis-sp Date: Thu, 6 Jul 2023 14:54:15 -0500 Subject: [PATCH] updated action to run after deploy --- .github/workflows/run-algolia.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-algolia.yml b/.github/workflows/run-algolia.yml index a3e5b75e7..6fdb834b9 100644 --- a/.github/workflows/run-algolia.yml +++ b/.github/workflows/run-algolia.yml @@ -2,11 +2,10 @@ name: Run Algolia Crawler on: # Runs on pushes targeting the default branch - push: - branches: ['feature/algolia-action'] - paths-ignore: - - 'README.md' - - '.github/**' + workflow_run: + workflows: ['Build/Deploy to GitHub Pages'] + types: + - completed # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -28,7 +27,7 @@ jobs: - name: Get the content of algolia.json as config id: algolia_config - run: echo "::set-output name=config::$(cat algolia/dev_config.json | jq -r tostring)" + run: echo "::set-output name=config::$(cat algolia/config.json | jq -r tostring)" - name: Push indices to Algolia uses: signcl/docsearch-scraper-action@master