Skip to main content

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 (GitHub Actions)[] CI pipeline. You can (view the code)[] in our public repository.

Simply initialize 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