Skip to content

Commit a6cda09

Browse files
committed
gha: Do not attempt deploys from PRs
1 parent a1dd147 commit a6cda09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
MAKEFLAGS: -j2
5050
our_install_dir: $HOME/our_usr/
5151
- name: Deploy Documentation
52-
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }}
52+
if: ${{ (github.ref == 'refs/heads/main' && github.repository == 'Symengine/symengine.py') || (github.ref == 'refs/heads/master' && github.repository == 'Symengine/symengine.py')}}
5353
uses: peaceiris/actions-gh-pages@v3
5454
with:
5555
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)