@@ -128,31 +128,72 @@ jobs:
128128 with :
129129 name : modules-json
130130 path : modules.json
131+ - name : debug-scrape-modules-complete
132+ run : |
133+ echo "=== SCRAPE-MODULES JOB COMPLETED ==="
134+ echo "Artifacts uploaded:"
135+ echo "- module-zips: $(ls -la *.zip | wc -l) zip files"
136+ echo "- modules-json: modules.json"
137+ echo "Job completed successfully"
131138
132139 gh-pages :
133140 needs : scrape-modules
134141 runs-on : ubuntu-latest
135142 steps :
143+ - name : debug-gh-pages-start
144+ run : |
145+ echo "=== GH-PAGES JOB STARTED ==="
146+ echo "Current working directory: $(pwd)"
147+ echo "Directory contents:"
148+ ls -la
136149 - uses : actions/checkout@v3
137150 with :
138151 fetch-depth : 0
152+ - name : debug-after-checkout
153+ run : |
154+ echo "=== AFTER CHECKOUT ==="
155+ echo "Current working directory: $(pwd)"
156+ echo "Directory contents:"
157+ ls -la
139158 - name : create-docs-dir
140159 run : mkdir -p documentation
160+ - name : debug-after-create-docs
161+ run : |
162+ echo "=== AFTER CREATE DOCS DIR ==="
163+ echo "Documentation directory created:"
164+ ls -la documentation/
141165 - uses : actions/download-artifact@v4
142166 with :
143167 name : module-zips
144168 path : documentation
169+ - name : debug-after-download-zips
170+ run : |
171+ echo "=== AFTER DOWNLOAD ZIPS ==="
172+ echo "Documentation directory contents:"
173+ ls -la documentation/
145174 - uses : actions/download-artifact@v4
146175 with :
147176 name : modules-json
148177 path : documentation
178+ - name : debug-after-download-json
179+ run : |
180+ echo "=== AFTER DOWNLOAD JSON ==="
181+ echo "Documentation directory contents:"
182+ ls -la documentation/
149183 - name : unzip-modules
150184 shell : bash
151185 run : |
152186 for z in documentation/*.zip; do
153187 f=$(basename "$z" .zip)
154188 unzip "$z" -d "extracted_${f}"
155189 done
190+ - name : debug-after-unzip
191+ run : |
192+ echo "=== AFTER UNZIP ==="
193+ echo "Current directory contents:"
194+ ls -la
195+ echo "Extracted directories:"
196+ ls -la extracted_* || echo "No extracted directories found"
156197 - name : gather-module-docs
157198 shell : bash
158199 run : |
@@ -224,6 +265,13 @@ jobs:
224265 fi
225266 done
226267 shopt -u nullglob
268+ - name : debug-after-gather-docs
269+ run : |
270+ echo "=== AFTER GATHER MODULE DOCS ==="
271+ echo "Documentation directory structure:"
272+ find documentation -type f -name "*.md" | head -10
273+ echo "Documentation directory contents:"
274+ ls -la documentation/
227275 - name : prepare-artifact-for-upload
228276 run : |
229277 echo "Current directory contents:"
@@ -267,6 +315,13 @@ jobs:
267315 needs : gh-pages
268316 runs-on : ubuntu-latest
269317 steps :
318+ - name : debug-upload-docs-start
319+ run : |
320+ echo "=== UPLOAD-DOCS JOB STARTED ==="
321+ echo "This job depends on gh-pages job"
322+ echo "Current working directory: $(pwd)"
323+ echo "Directory contents:"
324+ ls -la
270325 - name : debug-before-download
271326 run : |
272327 echo "About to download built-docs artifact"
0 commit comments