| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,27 @@ | |||
| 1 | + name: Read the Docs PR preview | ||
| 2 | + # Automatically edits a pull request's descriptions with a link | ||
| 3 | + # to the documentation's preview on Read the Docs. | ||
| 4 | + | ||
| 5 | + on: | ||
| 6 | + pull_request_target: | ||
| 7 | + types: | ||
| 8 | + - opened | ||
| 9 | + paths: | ||
| 10 | + - 'Doc/**' | ||
| 11 | + - '.github/workflows/doc.yml' | ||
| 12 | + | ||
| 13 | + permissions: | ||
| 14 | + pull-requests: write | ||
| 15 | + | ||
| 16 | + concurrency: | ||
| 17 | + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| 18 | + cancel-in-progress: true | ||
| 19 | + | ||
| 20 | + jobs: | ||
| 21 | + documentation-links: | ||
| 22 | + runs-on: ubuntu-latest | ||
| 23 | + steps: | ||
| 24 | + - uses: readthedocs/actions/preview@v1 | ||
| 25 | + with: | ||
| 26 | + project-slug: "python-docs-theme-previews" | ||
| 27 | + single-version: "true" | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments