Skip to content

Commit

Permalink
ci: only publish doc when a new version is released
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Feb 8, 2024
1 parent 38b6c15 commit 69178dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
path: prophecies/static/docs/

docs-publish:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: [build]
permissions:
Expand Down

0 comments on commit 69178dc

Please sign in to comment.