From c242a4bac71f02d763d20a2a2eea84a8ad63c726 Mon Sep 17 00:00:00 2001 From: Amir Mohammadi Date: Mon, 8 Jul 2024 14:11:16 +0200 Subject: [PATCH] add readthedocs preview to pull requests --- .github/workflows/documentation-links.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/documentation-links.yml diff --git a/.github/workflows/documentation-links.yml b/.github/workflows/documentation-links.yml new file mode 100644 index 0000000..6c48fe5 --- /dev/null +++ b/.github/workflows/documentation-links.yml @@ -0,0 +1,20 @@ +name: readthedocs preview +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-22.04 + steps: + - uses: readthedocs/actions/preview@v1 + with: + project-slug: "gridtk"