ci: github actions: only deploy pytest-dev/pytest

This commit is contained in:
Daniel Hahler 2020-01-16 13:57:46 +01:00
parent 715f56dfbc
commit ea31649062
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ jobs:
name: ${{ matrix.name }}
deploy:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pytest'
runs-on: ubuntu-latest