Skip to content

Commit

Permalink
Only deploy docs on push to versioned tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwhitehead committed Dec 11, 2024
1 parent 9b062d2 commit e263f52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
path: ./doc/build/html/

deploy:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
needs: build_doc
runs-on: ubuntu-latest

Expand Down

0 comments on commit e263f52

Please sign in to comment.