From: Sebastián Ramírez Date: Tue, 10 Nov 2020 19:51:56 +0000 (+0100) Subject: 💚 Fix disabling install of Material for MkDocs Insiders in forks, strike 1 ⚾ (#2340) X-Git-Tag: 0.62.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d7289aeb8a1087a76135b2ff2b4042f42c52366;p=thirdparty%2Ffastapi%2Ffastapi.git 💚 Fix disabling install of Material for MkDocs Insiders in forks, strike 1 ⚾ (#2340) --- 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