Skip to content

Commit 8960796

Browse files
committed
Automatically edit PRs with link to Netlify preview
1 parent cb944d0 commit 8960796

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Read the Docs PR preview
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
paths:
7+
- 'Doc/**'
8+
- 'Misc/**'
9+
- '.github/workflows/doc.yml'
10+
11+
permissions:
12+
pull-requests: write
13+
14+
jobs:
15+
documentation-links:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: hugovk/actions/preview@netlify
19+
with:
20+
project-slug: "hugovk-cpython"
21+
platform: "netlify"
22+
single-version: "true"

0 commit comments

Comments
 (0)