Skip to content

Commit

Permalink
Split RTD PR preview builds between Volto and plone/registry
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Jan 24, 2025
1 parent a5353d3 commit 1f0a13c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs-rtd-pr-preview-registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .github/workflows/docs-rtd-pr-preview-registry.yml
name: readthedocs/actions
on:
pull_request_target:
types:
- opened
# Execute this action only on PRs that touch
# documentation files for @plone/registry.
branches:
- main
paths:
- .readthedocs.yaml
- requirements-docs.txt
- "packages/registry/docs/**"

permissions:
pull-requests: write

jobs:
documentation-links:
runs-on: ubuntu-latest
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "plone-registry"
single-version: "true"
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# .github/workflows/docs-rtd-pr-preview.yml
# .github/workflows/docs-rtd-pr-preview-volto.yml
name: readthedocs/actions
on:
pull_request_target:
types:
- opened
# Execute this action only on PRs that touch
# documentation files.
# documentation files for Volto.
branches:
- main
paths:
- "docs/source/**"
- .readthedocs.yaml
- requirements-docs.txt
- "packages/registry/docs/**"

permissions:
pull-requests: write
Expand Down

0 comments on commit 1f0a13c

Please sign in to comment.