Skip to content

Commit

Permalink
Enable previewing generated doc in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Jul 16, 2024
1 parent 0ea60e1 commit 09f4870
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Preview the generated doc in pull requests.

name: Preview Generated Docs
on:
pull_request_target:
types:
- opened

permissions:
pull-requests: write

jobs:
documentation-links:
name: Build Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: readthedocs/actions/preview@v1
with:
project-slug: "readthedocs-preview"

0 comments on commit 09f4870

Please sign in to comment.