Skip to content

Commit

Permalink
Add RTD preview action (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay authored Aug 31, 2023
1 parent 2b3ccad commit 0ea2f36
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/rtd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: readthedocs/preview

on:
pull_request_target:
types: [opened]
branches:
- develop

jobs:
rtdpreview:
if: "github.repository == 'MDAnalysis/UserGuide'"
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "mdanalysis"

0 comments on commit 0ea2f36

Please sign in to comment.