Browse Source

💚 Fix disabling install of Material for MkDocs Insiders in forks, strike 1 (#2340)

pull/2341/head
Sebastián Ramírez 4 years ago
committed by GitHub
parent
commit
7d7289aeb8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build-docs.yml

2
.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

Loading…
Cancel
Save