diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-04-30 05:02:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 05:02:03 (GMT) |
commit | accb417c338630ac6e836a5c811a89d54a3cd1d3 (patch) | |
tree | 181825532650a6d4a8b1775f436468e3fd6f564f /.github/workflows | |
parent | 4b10ecc29f6ae69e599a5475a62d8e96a8711f90 (diff) | |
download | cpython-accb417c338630ac6e836a5c811a89d54a3cd1d3.zip cpython-accb417c338630ac6e836a5c811a89d54a3cd1d3.tar.gz cpython-accb417c338630ac6e836a5c811a89d54a3cd1d3.tar.bz2 |
Replace Netlify with Read the Docs build previews (#103843)
Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/documentation-links.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/documentation-links.yml b/.github/workflows/documentation-links.yml new file mode 100644 index 0000000..43a7afe --- /dev/null +++ b/.github/workflows/documentation-links.yml @@ -0,0 +1,27 @@ +name: Read the Docs PR preview +# Automatically edits a pull request's descriptions with a link +# to the documentation's preview on Read the Docs. + +on: + pull_request_target: + types: + - opened + paths: + - 'Doc/**' + - '.github/workflows/doc.yml' + +permissions: + pull-requests: write + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + documentation-links: + runs-on: ubuntu-latest + steps: + - uses: readthedocs/actions/preview@v1 + with: + project-slug: "cpython-previews" + single-version: "true" |