Skip to content

Commit

Permalink
Revert back to expanded workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HCookie committed Jan 23, 2025
1 parent 33dc18d commit 4220e99
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/readthedocs-pr-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,26 @@ permissions:
pull-requests: write

jobs:
documentation:
graphs-documentation:
if: contains(github.event.pull_request.files.*.path, 'graphs/docs/')
runs-on: ubuntu-latest
strategy:
matrix:
project:
- { path: 'graphs/docs/', slug: 'anemoi-graphs' }
- { path: 'models/docs/', slug: 'anemoi-models' }
- { path: 'training/docs/', slug: 'anemoi-training' }
if: contains(github.event.pull_request.files.*.path, matrix.project.path)
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: ${{ matrix.project.slug }}
project-slug: "anemoi-graphs"

models-documentation:
if: contains(github.event.pull_request.files.*.path, 'models/docs/')
runs-on: ubuntu-latest
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "anemoi-models"

training-documentation:
if: contains(github.event.pull_request.files.*.path, 'training/docs/')
runs-on: ubuntu-latest
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "anemoi-training"

0 comments on commit 4220e99

Please sign in to comment.