Using Quant with CI

CI integration is a key area the CLI tool can assist with. When using a static generator your CI pipeline can be used to build and deploy content automatically as it changes.

For example, this documentation site is built with (Docusaurus)[] and deployed to Quant via a (Codefresh)[] CI pipeline.

Simply initialise Quant with a one-liner to prevent interactive setup with environment variables, e.g:

quant init -c ${QUANT_CUSTOMER} -t '${QUANT_TOKEN}' --project=${QUANT_PROJECT} -e '' -d ${BUILD_DIRECTORY}

Then run a Quant deployment to push content:

quant deploy