Skip to content

Commit 5264376

Browse files
authored
ci: add links to rendered docs (#597)
1 parent 3b7321d commit 5264376

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/docs-link.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Read the Docs PR preview
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
documentation-links:
18+
runs-on: ubuntu-latest
19+
if: github.event.repository.fork == false
20+
steps:
21+
- uses: readthedocs/actions/preview@v1
22+
with:
23+
project-slug: "scientific-python-cookie"
24+
single-version: "true"

0 commit comments

Comments
 (0)