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 423165a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Preview the generated doc in pull requests.

name: Preview Generated Docs
on:
pull_request:
branches: ["master"]

permissions:
pull-requests: write

jobs:
documentation-links:
name: Preview Docs
runs-on: ubuntu-latest
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "editorconfig-specification"
project-language: "en"

0 comments on commit 423165a

Please sign in to comment.