llama-stack-mirror/.github/workflows/update-readthedocs.yml
Ashwin Bharambe b35930a7e5 rename
2025-02-04 11:02:45 -08:00

21 lines
517 B
YAML

name: Update ReadTheDocs
on:
push:
branches:
- main
paths:
- 'docs/source/**'
- 'docs/resources/**'
- '.github/workflows/update-readthedocs.yml'
jobs:
update-readthedocs:
runs-on: ubuntu-latest
steps:
- name: Trigger ReadTheDocs build
run: |
curl -X POST \
-H "Content-Type: application/json" \
-d '{"token": "{{ secrets.READTHEDOCS_TOKEN }}"}' \
https://readthedocs.org/api/v2/webhook/llama-stack/289764/