| name | replit-ci-integration |
| description | Configure CI/CD for Replit with GitHub Actions, automated testing, and deploy-on-push.
Use when setting up automated testing, GitHub integration for Replit,
or continuous deployment pipelines that deploy to Replit.
Trigger with phrases like "replit CI", "replit GitHub Actions",
"replit automated deploy", "CI replit", "replit GitHub".
|
| allowed-tools | Read, Write, Edit, Bash(gh:*) |
| version | 1.12.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","replit","ci-cd","github-actions","automation"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Replit CI Integration
Overview
Set up CI/CD for Replit apps: GitHub repo connected to Replit, automated testing via GitHub Actions, deploy-on-push, and post-deploy health verification. Replit supports direct GitHub import and auto-sync.
Prerequisites
- GitHub repository with Actions enabled
- Replit App connected to GitHub (Settings > Git > Connect)
- GitHub Secrets configured for deploy verification
Instructions
Step 1: Connect Replit to GitHub
1. In your Repl, click "Git" in the sidebar
2. Click "Connect to GitHub"
3. Authorize Replit GitHub App
4. Select your repository
5. Changes pushed to GitHub auto-sync to Replit
Alternative: Import from GitHub
1. Create new Repl > "Import from GitHub"
2. Paste repo URL
3. Replit clones and configures automatically
Step 2: GitHub Actions — Test on PR
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci