You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Prevent develop deployments from overwriting main site
The previous deployment strategy was overwriting the main site when
deploying from develop branch. This fix implements a targeted approach:
- Develop branch: Only updates /development/ folder, preserves everything else
- Main branch: Updates root files, preserves CNAME and /development/ folder
- Checks out gh-pages branch first for surgical updates
- No more using peaceiris action that was causing overwrites
This ensures:
✅ www.unityailab.com stays intact when deploying develop
✅ www.unityailab.com/development/ updates independently
✅ CNAME file is always preserved
✅ Each branch only touches its designated area
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments