diff --git a/netlify.toml b/netlify.toml index 88ef8da010b8..885d1d9e9bbd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -11,9 +11,10 @@ base = "" command = """ pip install --upgrade pip \ && pip install --upgrade --upgrade-strategy eager -e ".[dev]" \ -&& pip install git+https://${MKDOCS_INSIDERS_PAT}@github.com/PrefectHQ/mkdocs-material-insiders.git \ -&& prefect dev build-docs \ -&& mkdocs build --config-file mkdocs.insiders.yml +&& pip install git+https://${MKDOCS_INSIDERS_PAT}@github.com/PrefectHQ/mkdocs-material-insiders.git; \ +prefect dev build-docs \ +&& mkdocs build --config-file mkdocs.insiders.yml \ +|| mkdocs build --config-file mkdocs.insiders.yml \ """ publish = "site"