Skip to content

Commit f8d3f2f

Browse files
authored
Merge pull request #105 from collective/pull-request-preview
Add pull request previews on Read the Docs
2 parents f79fc99 + 28e98a4 commit f8d3f2f

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .github/workflows/rtd-pr-preview.yml
2+
# https://github.com/readthedocs/actions/blob/v1/preview/README.md
3+
name: readthedocs/actions
4+
on:
5+
pull_request_target:
6+
types:
7+
- opened
8+
# Execute this action only on PRs that touch
9+
# documentation files.
10+
# paths:
11+
# - "docs/**"
12+
13+
permissions:
14+
pull-requests: write
15+
16+
jobs:
17+
documentation-links:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: readthedocs/actions/preview@v1
21+
with:
22+
project-slug: "sphinxcontrib-httpexample"
23+
single-version: "true"

0 commit comments

Comments
 (0)