Commit 22abdc0
committed
Optimize workflow: Local generation with intelligent GitHub Action
🚀 Major workflow improvements:
## GitHub Action Optimization
- Simplified from heavy cloud generation to lightweight deployment
- Intelligent detection of changed YAML files via git diff
- Conditional regeneration only when needed (changed YAML or missing HTML)
- Fixed syntax error in PDF counting loop (2>/dev/null redirect)
- Dramatic reduction in GitHub Actions minutes usage
## Documentation Enhancement
- Added comprehensive README with Mermaid sequence diagram
- Documented complete workflow from local development to deployment
- Clear explanation of hybrid approach benefits
- Usage examples for all make targets
## Technical Details
- Hybrid approach: Local development + intelligent cloud fallback
- Course-specific asset organization maintained
- Automatic path correction for PDF references
- DRY principle implementation in Makefile
This creates an efficient development workflow:
1. Fast local development with immediate feedback
2. Automated asset organization and git integration
3. Intelligent cloud deployment as safety net
4. Comprehensive documentation for team collaboration1 parent ec80928 commit 22abdc0
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments