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 89399ed
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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"

0 comments on commit 89399ed

Please sign in to comment.