mirror of
https://github.com/fastapi/sqlmodel.git
synced 2026-01-05 17:09:42 -06:00
🔧 Update docs build setup, add support for sponsors, add sponsor GOVCERT.LU (#720)
This commit is contained in:
committed by
GitHub
parent
cc11619c67
commit
276bcf788c
10
.github/workflows/build-docs.yml
vendored
10
.github/workflows/build-docs.yml
vendored
@@ -30,6 +30,8 @@ jobs:
|
||||
- pyproject.toml
|
||||
- mkdocs.yml
|
||||
- mkdocs.insiders.yml
|
||||
- ./github/workflows/build-docs.yml
|
||||
- ./github/workflows/deploy-docs.yml
|
||||
|
||||
build-docs:
|
||||
needs:
|
||||
@@ -69,12 +71,10 @@ jobs:
|
||||
with:
|
||||
key: mkdocs-cards-${{ github.ref }}
|
||||
path: .cache
|
||||
- name: Verify README
|
||||
run: python ./scripts/docs.py verify-readme
|
||||
- name: Build Docs
|
||||
if: github.event_name == 'pull_request' && github.secret_source != 'Actions'
|
||||
run: python -m poetry run mkdocs build
|
||||
- name: Build Docs with Insiders
|
||||
if: github.event_name != 'pull_request' || github.secret_source == 'Actions'
|
||||
run: python -m poetry run mkdocs build --config-file mkdocs.insiders.yml
|
||||
run: python ./scripts/docs.py build
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: docs-site
|
||||
|
||||
Reference in New Issue
Block a user