File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,17 @@ jobs:
6363 if : steps.cache.outputs.cache-hit != 'true'
6464 run : python -m poetry install
6565 - name : Install Material for MkDocs Insiders
66- if : ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false ) && steps.cache.outputs.cache-hit != 'true'
66+ if : ( github.event_name != 'pull_request' || github.secret_source == 'Actions' ) && steps.cache.outputs.cache-hit != 'true'
6767 run : python -m poetry run pip install git+https://${{ secrets.SQLMODEL_MKDOCS_MATERIAL_INSIDERS }}@github.com/squidfunk/mkdocs-material-insiders.git
6868 - uses : actions/cache@v3
6969 with :
7070 key : mkdocs-cards-${{ github.ref }}
7171 path : .cache
7272 - name : Build Docs
73- if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
73+ if : github.event_name == 'pull_request' && github.secret_source != 'Actions'
7474 run : python -m poetry run mkdocs build
7575 - name : Build Docs with Insiders
76- if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
76+ if : github.event_name != 'pull_request' || github.secret_source == 'Actions'
7777 run : python -m poetry run mkdocs build --config-file mkdocs.insiders.yml
7878 - uses : actions/upload-artifact@v3
7979 with :
You can’t perform that action at this time.
0 commit comments