Create pull request previews and docs deployment on Read the Docs #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/rtd-pr-preview.yml | |
name: readthedocs/actions | |
on: | |
pull_request_target: | |
types: | |
- opened | |
# Execute this action only on PRs that touch | |
# documentation files. | |
# paths: | |
# - "docs/**" | |
permissions: | |
pull-requests: write | |
jobs: | |
documentation-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: readthedocs/actions/preview@v1 | |
with: | |
project-slug: "plone-sphinx-theme" | |
single-version: "true" |