Commit 52888b7
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 52888b7
File tree
37 files changed
+94
-15
lines changed- .github/workflows
- assets
- digitalesysteme/pdf
- pdf
37 files changed
+94
-15
lines changed| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
13 | 43 | | |
14 | 44 | | |
| 45 | + | |
15 | 46 | | |
16 | 47 | | |
17 | 48 | | |
18 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
19 | 58 | | |
20 | 59 | | |
21 | 60 | | |
| |||
41 | 80 | | |
42 | 81 | | |
43 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
44 | 110 | | |
45 | 111 | | |
46 | 112 | | |
47 | | - | |
48 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
49 | 118 | | |
50 | 119 | | |
51 | | - | |
| 120 | + | |
52 | 121 | | |
53 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
54 | 126 | | |
55 | 127 | | |
56 | 128 | | |
57 | 129 | | |
58 | 130 | | |
59 | | - | |
| 131 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments