-
-
Notifications
You must be signed in to change notification settings - Fork 9
30 lines (26 loc) · 788 Bytes
/
Copy pathreadthedocs-preview.yml
File metadata and controls
30 lines (26 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Build the Sphinx docs and update the PR description
# w/ a link to the rendered version on Read the Docs
# https://github.com/readthedocs/actions/tree/main/preview
name: readthedocs (PR preview)
on:
pull_request_target:
types: [ opened, synchronize ]
paths:
- '.github/workflows/readthedocs-preview.yml'
- 'cicd_utils/**'
- 'docs/**'
- 'src/**'
- '.readthedocs.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.ref }}
cancel-in-progress: true
permissions:
pull-requests: write
jobs:
documentation-links:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "ridgeplot"