mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
updated action to run after deploy
This commit is contained in:
11
.github/workflows/run-algolia.yml
vendored
11
.github/workflows/run-algolia.yml
vendored
@@ -2,11 +2,10 @@ name: Run Algolia Crawler
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
# Runs on pushes targeting the default branch
|
# Runs on pushes targeting the default branch
|
||||||
push:
|
workflow_run:
|
||||||
branches: ['feature/algolia-action']
|
workflows: ['Build/Deploy to GitHub Pages']
|
||||||
paths-ignore:
|
types:
|
||||||
- 'README.md'
|
- completed
|
||||||
- '.github/**'
|
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -28,7 +27,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get the content of algolia.json as config
|
- name: Get the content of algolia.json as config
|
||||||
id: algolia_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
|
- name: Push indices to Algolia
|
||||||
uses: signcl/docsearch-scraper-action@master
|
uses: signcl/docsearch-scraper-action@master
|
||||||
|
|||||||
Reference in New Issue
Block a user