asciidoctor / docs.asciidoctor.org

The Antora playbook project (i.e., site manifest) for the Asciidoctor documentation site.
https://docs.asciidoctor.org
MIT License
14 stars 18 forks source link

Site Indexer workflow can't work #71

Closed KevinLoveGitHub closed 2 years ago

KevinLoveGitHub commented 2 years ago

In indexer.xml file, why replace .xml with -home.xml SITEMAP_URL=$(node -p "JSON.parse(require('fs').readFileSync('$CONFIG')).sitemap_urls[0].replace('.xml', '-home.xml')")

mojavelinux commented 2 years ago

Thanks for the heads up. We had renamed the component from home to ROOT, but I forgot to update this workflow script. It's trying to locate this sitemap file, which contains the last updated date for the site. I just updated the workflow.