forked from phoenix-oss/llama-stack-mirror
Add a workflow to trigger readthedocs rebuild
This commit is contained in:
parent
b17277b06a
commit
ea538e4b32
1 changed files with 21 additions and 0 deletions
21
.github/workflows/update-readthedocs.yml
vendored
Normal file
21
.github/workflows/update-readthedocs.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Update ReadTheDocs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'docs/source/**'
|
||||||
|
- 'docs/resources/**'
|
||||||
|
- '.github/workflows/update-readthedocs.yml'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
openapi-check:
|
||||||
|
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/
|
Loading…
Add table
Add a link
Reference in a new issue