mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-11 21:16:45 +00:00
💚 Fix disabling install of Material for MkDocs Insiders in forks, strike 1 ⚾ (#2340)
This commit is contained in:
parent
24b638faf6
commit
7d7289aeb8
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
|
- 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.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
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue