diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 21539aa04..ab425c72a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -75,19 +75,25 @@ jobs: KNOWN_APP_DOMAINS: lbry.tv,lbry.lat,odysee.com - uses: actions/upload-artifact@v2 - if: startsWith(runner.os, 'linux') + if: | + startsWith(runner.os, 'linux') && + github.event.pull_request.head.repo.full_name == github.repository with: name: Linux path: ./dist/electron/*.* - uses: actions/upload-artifact@v2 - if: startsWith(runner.os, 'mac') + if: | + startsWith(runner.os, 'mac') && + github.event.pull_request.head.repo.full_name == github.repository with: name: macOS path: ./dist/electron/*.* - uses: actions/upload-artifact@v2 - if: startsWith(runner.os, 'windows') + if: | + startsWith(runner.os, 'windows') && + github.event.pull_request.head.repo.full_name == github.repository with: name: Windows path: ./dist/electron/*.*