Skip to content

Commit

Permalink
run docsite generation (but do not deploy) on PRs to main
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfouilleul committed Oct 31, 2024
1 parent 4d887a7 commit 9055b2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-doc-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -31,6 +35,7 @@ jobs:
path: "./doc/mkdocs/site"

deploy:
if: ${{ github.ref_name == 'main'}}
runs-on: ubuntu-latest
needs: build

Expand Down

0 comments on commit 9055b2b

Please sign in to comment.