From 8f0587f75306243a70df5dfc3d848a68515d81e5 Mon Sep 17 00:00:00 2001 From: Anthony Galassi <28850131+bendhouseart@users.noreply.github.com> Date: Tue, 26 Dec 2023 12:19:09 -0500 Subject: [PATCH] added preview for rtd build (#251) --- .github/workflows/readthedocs.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/readthedocs.yaml diff --git a/.github/workflows/readthedocs.yaml b/.github/workflows/readthedocs.yaml new file mode 100644 index 00000000..a6e61ba4 --- /dev/null +++ b/.github/workflows/readthedocs.yaml @@ -0,0 +1,23 @@ +name: readthedocs/actions +on: + pull_request_target: + types: [opened, synchronize, reopened] + workflow_dispatch: + inputs: + debug_enabled: + type: boolean + description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + required: false + default: false + +permissions: + pull-requests: write + +jobs: + pull-request-links: + runs-on: ubuntu-latest + steps: + - name: Preview RTD + uses: readthedocs/actions/preview@v1 + with: + project-slug: "pet2bids"