From 7d7289aeb8a1087a76135b2ff2b4042f42c52366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 10 Nov 2020 20:51:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20disabling=20install=20of?= =?UTF-8?q?=20Material=20for=20MkDocs=20Insiders=20in=20forks,=20strike=20?= =?UTF-8?q?1=20=E2=9A=BE=20(#2340)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 48ec023fa..f575cbf5e 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -21,7 +21,7 @@ jobs: - name: Install docs extras run: python3.7 -m flit install --extras doc - name: Install Material for MkDocs Insiders - if: github.event.repository.fork == false + if: github.event.pull_request.head.repo.fork == false run: pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git - name: Build Docs run: python3.7 ./scripts/docs.py build-all