feat: Add Continuous Delivery system with auto-commit and file watcher
Automatically commit and push changes to GitHub with zero manual intervention. Features: - File watcher mode: Auto-detects changes in real-time - Timer mode: Commits at regular intervals (default 5 minutes) - Smart exclusions: Ignores temp files, sessions, cache, db files - Retry logic: Auto-retries failed pushes - Change summaries: Detailed commit messages with file lists Components: - auto-deploy.ps1: Core CD engine with file watcher - start-cd.ps1: Easy-to-use wrapper with commands - .cd-config.json: Configuration file - CONTINUOUS_DELIVERY_GUIDE.md: Complete documentation Usage: .\start-cd.ps1 watch # Start file watcher (recommended) .\start-cd.ps1 start # Timer mode (every 5 min) .\start-cd.ps1 once # One-time commit Also removed db_data/ from git tracking (now in .gitignore). Database runtime files should never be committed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
.cd-config.json
Normal file
18
.cd-config.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"intervalSeconds": 300,
|
||||
"branch": "dev",
|
||||
"commitPrefix": "auto:",
|
||||
"excludePatterns": [
|
||||
"f_data/data_sessions/*",
|
||||
"f_data/data_cache/_c_tpl/*",
|
||||
".setup_complete",
|
||||
"*.log",
|
||||
"db_data/*",
|
||||
"node_modules/*",
|
||||
"vendor/*",
|
||||
".git/*",
|
||||
".vscode/*"
|
||||
],
|
||||
"enableNotifications": true,
|
||||
"autoStart": false
|
||||
}
|
||||
Reference in New Issue
Block a user