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

This commit is contained in:
Sebastián Ramírez 2020-11-10 20:37:55 +01:00 committed by GitHub
parent d8cfa8ac87
commit 2561a17225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ jobs:
- name: Install docs extras - name: Install docs extras
run: python3.7 -m flit install --extras doc run: python3.7 -m flit install --extras doc
- name: Install Material for MkDocs Insiders - 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 run: pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
- name: Build Docs - name: Build Docs
run: python3.7 ./scripts/docs.py build-all run: python3.7 ./scripts/docs.py build-all