What It Does
Once your application is deployed, Monk can set up continuous deployment so every code change automatically updates your running application. No writing GitHub Actions workflows, no configuring secrets, no container registry setup. Just tell Monk to set up CI, and your application will auto-deploy on every push to main.How to Set It Up
Trigger CI/CD Setup
After your application is deployed, chat with Monk in your IDE: You:set up CI/CD for this project
Monk will guide you through the setup process.

Prerequisites
Before setting up CI/CD, you need:- GitHub repository - Your project must be in a GitHub repo
- Deployed application - Your project must already be deployed and running
- GitHub PAT (optional) - Generate a Personal Access Token for Monk to automate the setup ß
Without a PAT: Monk will generate the necessary files and guide you
through manual GitHub configuration. With a PAT: Monk handles everything
automatically, including secure injection of deployment keys.
How It Works
Step 1: Configuration
Once you ask Monk to configure CI and code analysis completes, Monk:- Generates GitHub Action workflow - Creates
.github/workflows/deploy.yml - Configures intelligent rebuilds - Only rebuilds components that changed:
- Service configuration updates
- Container rebuilds when code changes
- Dependency updates when needed
Step 2: Deployment Keys
If you provided a GitHub PAT:- Monk securely injects deployment keys into your repository secrets
- Everything is configured automatically
- You just commit and push
- Monk generates the necessary secrets
- Provides step-by-step instructions for manual GitHub configuration
- Shows you exactly where to paste each secret
Step 3: Activation
- Review the changes - Monk shows you the generated workflow file
- Commit and push - The changes go into your repository
- Automatic from now on - Every push to
mainupdates your deployment
The Build Process
The CI job mirrors what happened during initial deployment: On every push to main branch:- Code analysis - Monk analyzes what changed
- Configuration update - Updates service configuration if needed
- Container rebuild - Rebuilds containers for modified services
- Zero-downtime deployment - Monk’s orchestrator updates running services without interruption
- Verification - Tests that updated services are healthy
- Changed frontend → Rebuilds and redeploys frontend only
- Changed API code → Rebuilds API container, rolling update in production
- Changed worker → Rebuilds worker container, replaces instances
- No code changes → Skips unnecessary builds
What Makes This Different
Traditional CI/CD setup requires:- Writing GitHub Actions/Jenkins/CircleCI workflows
- Configuring Docker registry credentials
- Setting up deployment keys and secrets
- Managing environment-specific configurations
- Writing build scripts for each service
- Configuring health checks and rollback strategies
- Setting up multi-stage deployments
Currently Supported
CI/CD Platform:- ✅ GitHub Actions - Fully supported
- Jenkins
- GitLab CI/CD
- Bitbucket Pipelines
- Azure DevOps
Need a different platform? Let us know! Monk’s architecture makes it
straightforward to add support for additional CI/CD platforms.
Zero Configuration Benefits
What Monk handles automatically:- ✅ No container registry configuration needed
- ✅ No secrets management required (beyond optional GitHub PAT)
- ✅ No GitHub Actions workflow writing
- ✅ No deployment script creation
- ✅ No rollback strategy configuration
- ✅ No health check setup
- Private container registry - Already configured during initial deployment
- Orchestrator - Handles zero-downtime updates automatically
- Security - Deployment keys stored securely in GitHub secrets
Key Capabilities
- Automatic workflow generation - GitHub Actions created for you
- Intelligent rebuilds - Only changed components rebuild
- Zero-downtime deployments - Rolling updates handled by orchestrator
- One-time setup - Configure once, works forever
- Optional automation - GitHub PAT makes setup fully automatic
- Manual fallback - Clear instructions if you prefer manual configuration
- Smart caching - Dependencies cached for faster builds
- Build verification - Automatic health checks after deployment
- Main branch tracking - Deploys on every push to main branch
Related Features
- Autonomous Deployment - Initial deployment process
- Code Analysis - How Monk detects changes
- Containerization - Container rebuild process
- Configuration & Wiring - Service configuration updates
- IDE Integration - Where you interact with Monk
- Security - How deployment keys are protected