Skip to content

Commit

Permalink
Enable previewing generated doc in PR (editorconfig#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev authored Jul 16, 2024
1 parent 0ea60e1 commit 755ddfd
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"
single-version: true

0 comments on commit 755ddfd

Please sign in to comment.