We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e25eea0 commit 6244f3bCopy full SHA for 6244f3b
.github/workflows/indexer.yml
@@ -31,9 +31,7 @@ jobs:
31
API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
32
CONFIG: ${{ github.workspace }}/docsearch/config.json
33
run: |
34
- node -v
35
- curl -sL -o $CONFIG https://docs.asciidoctor.org/docsearch-config.json
36
- cat $CONFIG
+ curl -L -o $CONFIG https://docs.asciidoctor.org/docsearch-config.json
37
INDEX_NAME=$(node -p "JSON.parse(require('fs').readFileSync('$CONFIG')).index_name")
38
SITEMAP_URL=$(node -p "JSON.parse(require('fs').readFileSync('$CONFIG')).sitemap_urls[0].replace('.xml', '-ROOT.xml')")
39
# only run indexer if index is more than 2 days out of date
0 commit comments