Browse Source

🐛 Fix disabling Material for MkDocs Insiders install in forks (#2339)

pull/2340/head
Sebastián Ramírez 4 years ago
committed by GitHub
parent
commit
2561a17225
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.repository == 'tiangolo/fastapi'
if: github.event.repository.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