ccao-data / data-architecture

Codebase for CCAO data infrastructure construction and management
https://ccao-data.github.io/data-architecture/
5 stars 3 forks source link

Update docs deployment pipeline to use `--static` CLI Flag #358

Open jeancochrane opened 3 months ago

jeancochrane commented 3 months ago

In 1.7.1, dbt added a new --static command line flag to dbt docs generate that bundles the manifest, catalog, and index files into a single static HTML file (https://github.com/dbt-labs/dbt-core/issues/8614). Using this flag should allow us to simplify our docs deployment pipeline, since currently we have to save and deploy manifest.json and catalog.json files along with index.html. If static docs work as well as the old approach, we should switch to it to make our deployment pipeline simpler and easier to maintain.

Depends on https://github.com/ccao-data/data-architecture/pull/356 landing in order to upgrade our project to use dbt 1.7.* and make this flag available.