Skip to content

Commit

Permalink
Only run on merge commits
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Feb 4, 2025
1 parent a1d90c7 commit 98e7f5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
path: ${{ env.docs-directory }}/generated_docs

deploy:
if: ${{ github.ref == 'refs/heads/main' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 98e7f5b

Please sign in to comment.