Skip to main content

Set Up Continuous Deployment

Monk configures GitHub Actions to auto-deploy on every push to main. Build & CI/CD

What You Need

  • GitHub repository (your project must be in GitHub)
  • Already deployed application
  • Optional: GitHub Personal Access Token (for automatic setup)

With GitHub PAT (Automatic)

Without PAT (Manual)

Deploying Updates

Once CI/CD is set up, simply push code to your main branch: Commit and push your changes: Your deployment triggers automatically when code reaches the main branch. No need to tell Monk - GitHub Actions handles it.

Deploy Manually (Alternative)

Deploy updates without CI/CD. Updates & Maintenance

Prevent Dependency Upgrades

Update only your code, keep databases/services at current versions.

What Gets Auto-Deployed

  • Code changes - Updated services
  • New services - Added components
  • Configuration changes - Environment variables
  • Container updates - New dependencies

Smart Rebuilds

Monk only rebuilds what changed:
  • Changed frontend → Rebuilds frontend only
  • Changed API → Rebuilds API container
  • No changes → Skips rebuild

Next Steps