Skip to content

Commit

Permalink
Don't build dev docs for on release
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jul 27, 2024
1 parent 9142883 commit fe0c685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: make html

- name: Deploy Python docs for latest development version
if: ${{ github.ref_name == 'main' }}
if: github.event_name == 'push' && github.ref_name == 'main'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: py-polars/docs/build/html
Expand Down

0 comments on commit fe0c685

Please sign in to comment.