mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 02:26:46 +00:00
🐛 Fix disabling Material for MkDocs Insiders install in forks (#2339)
This commit is contained in:
parent
d8cfa8ac87
commit
2561a17225
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-docs.yml
vendored
2
.github/workflows/build-docs.yml
vendored
|
|
@ -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…
Reference in a new issue