Better dag #4
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
name: Documentation | |
on: | |
pull_request: | |
paths: | |
- "docs/**" | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed # necessary to deactivate the version in Read the Docs | |
permissions: | |
pull-requests: write | |
checks: write | |
jobs: | |
pr-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy docs to the staging site | |
uses: KengoTODA/readthedocs-action@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
rtd-token: ${{ secrets.RTD_TOKEN }} | |
rtd-project: py-yaml-fixtures |