From 36f91ac9c1bd8832185d99d506aff288d6df9f0f Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 22 Sep 2024 08:59:33 +0200 Subject: [PATCH] ci(build): prevent deploy for PRs from forks --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dee0401ca..9c4e21c3f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,7 @@ jobs: - name: Deploy to GitHub Pages if: ${{ github.actor != 'dependabot[bot]' }} uses: peaceiris/actions-gh-pages@v4 + if: github.repository == 'Stremio/stremio-web' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build