jojochuang opened a new pull request, #515:
URL: https://github.com/apache/ozone-site/pull/515

   ## Summary
   
   - Add `algolia-reindex` GitHub Actions workflow with manual dispatch 
(optional `force`) and a daily schedule that reindexes only when `master` had 
commits in the last 24 hours.
   - Add `.github/scripts/algolia_reindex.sh` to call the Algolia Crawler REST 
API reindex endpoint.
   - Document required repository secrets for ASF repo admins in 
`.github/resource/algolia_reindex_secrets.md`.
   
   https://issues.apache.org/jira/browse/HDDS-15999
   
   Validated on a fork: [algolia-reindex workflow 
runs](https://github.com/jojochuang/ozone-site/actions/workflows/algolia-reindex.yml).
   
   ## Post-merge (repo admins)
   
   Configure Actions **repository secrets** on `apache/ozone-site`: 
`ALGOLIA_CRAWLER_USER_ID`, `ALGOLIA_CRAWLER_API_KEY`, `ALGOLIA_CRAWLER_ID` (see 
`.github/resource/algolia_reindex_secrets.md`).
   
   ## Test plan
   
   - [ ] Merge; add the three repository secrets.
   - [ ] Actions → `algolia-reindex` → Run workflow with **force** → HTTP 2xx 
and new crawl in Algolia dashboard.
   - [ ] Scheduled run skips when `master` has no commits in 24h; triggers when 
it does.
   - [ ] `pnpm lint` passes (yamllint for workflow schedule block).
   
   
   Made with [Cursor](https://cursor.com)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to