How to set up CI/CD with GitHub Actions for your Nextmv decision app

This video tutorial demonstrates how to implement a continuous integration and continuous deployment (CI/CD) decision workflow using Nextmv Cloud and GitHub Actions. The process begins with setting up the Nextmv CLI and initializing a sample vehicle routing application, known as a community app, which is run locally to verify basic functionality.

To transition to a cloud environment, the speaker creates a Nextmv Cloud application and deploys the local executable code. The workflow involves creating distinct "staging" and "production" instances of the model. A key highlight is the configuration of an automated acceptance test that compares a candidate model's performance against a baseline using specific business KPIs, such as objective values, with defined tolerances.

Finally, the tutorial shows how to integrate these steps into a GitHub Action. This automation ensures that every code push to a stable branch triggers a pipeline that updates the staging instance and runs an acceptance test. Validated changes can then be officially deployed to production by updating the instance version in the Nextmv console.

‍

Related blog: https://www.nextmv.io/blog/a-pattern-for-ci-cd-pipelines-and-decision-apps

Related documentation: https://www.nextmv.io/docs/get-started/tutorials/overview