Skip to content

Commit

Permalink
doc: build doc on push for main branch and tags matching v*.*.* and d…
Browse files Browse the repository at this point in the history
…eploy doc for tags mathcing v*.*.*

Signed-off-by: IonutMuthi <[email protected]>
  • Loading branch information
IonutMuthi committed Jan 21, 2025
1 parent e95c73e commit 11fa1fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/generate_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
tags:
- v*.*.*
pull_request:

jobs:
Expand Down Expand Up @@ -36,7 +38,7 @@ jobs:
deploy-doc:
runs-on: ubuntu-latest
needs: build-doc
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/tags/v*.*.*'

steps:
- run: |
Expand Down

0 comments on commit 11fa1fe

Please sign in to comment.