From c72853596f37cb17f8a70f8da7d0c7c7de4ecef5 Mon Sep 17 00:00:00 2001 From: iTrooz Date: Wed, 4 Oct 2023 20:16:44 +0200 Subject: [PATCH] fix: disable web deployment on forks (#1342) --- .github/workflows/build_web.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 3ed5f748a..75034797b 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -70,7 +70,7 @@ jobs: name: 📃 Deploy to GitHub Pages runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' && github.event.repository.fork == false }} needs: build steps: