From 7d7289aeb8a1087a76135b2ff2b4042f42c52366 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 10 Nov 2020 20:51:56 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=92=9A=20Fix=20disabling=20install=20of=20?= =?utf8?q?Material=20for=20MkDocs=20Insiders=20in=20forks,=20strike=201=20?= =?utf8?q?=E2=9A=BE=20(#2340)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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 48ec023fac..f575cbf5ee 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 -- 2.47.3