Skip to content

Commit

Permalink
Create rebuild_readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Aug 23, 2023
1 parent be511ca commit 25caba3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rebuild_readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Rebuild ReadTheDocs
on:
schedule:
- cron: '0 5 * * 0' # every Sunday at 05:00 UTC (midnight EST)
push:
workflow_dispatch:

jobs:
rebuild-readthedocs:
name: Trigger build of latest version
runs-on: ubuntu-latest
steps:
- name: Send POST request
# this uses Ryan's RTD API token
run: |
curl \
-X POST \
-H "Authorization: Token <${{ secrets.RTD_TOKEN }}>" https://readthedocs.org/api/v3/projects/nwb-overview/versions/latest/builds/

0 comments on commit 25caba3

Please sign in to comment.