Merge pull request #3200 from lioman/don't-run-deploy-on-fork

This commit is contained in:
Justin Mayer 2023-10-24 10:15:03 +02:00 committed by GitHub
commit 0282c1d6eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ jobs:
environment: Deployment
needs: [test, lint, docs]
runs-on: ubuntu-latest
if: github.ref=='refs/heads/master' && github.event_name!='pull_request'
if: github.ref=='refs/heads/master' && github.event_name!='pull_request' && github.repository == 'getpelican/pelican'
permissions:
contents: write