Skip to content

Commit 09ba5f9

Browse files
jonphippsclaude
andcommitted
fix: correct artifact paths to preserve directory structure for URL validation
- Upload entire project directories instead of just build/ subdirectories - Ensures validation script finds sitemaps at expected paths like portal/build/sitemap.xml - Remove debug output now that issue is identified and fixed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 2d7aab5 commit 09ba5f9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/test-site-builds.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
with:
157157
name: build-${{ matrix.site }}
158158
path: |
159-
${{ matrix.site == 'portal' && 'portal' || format('standards/{0}', matrix.site) }}/build/
159+
${{ matrix.site == 'portal' && 'portal' || format('standards/{0}', matrix.site) }}
160160
161161
- name: Upload build artifacts on failure
162162
if: failure()
@@ -203,14 +203,6 @@ jobs:
203203
pattern: build-*
204204
path: .
205205

206-
- name: Debug - List downloaded artifacts
207-
run: |
208-
echo "=== Checking downloaded artifacts ==="
209-
find . -name "build" -type d | head -10
210-
find . -name "sitemap.xml" | head -10
211-
ls -la portal/ 2>/dev/null || echo "No portal directory"
212-
ls -la standards/*/build/ 2>/dev/null || echo "No standards build directories"
213-
214206
- name: Run URL validation tests
215207
run: |
216208
SITE=${{ github.event.inputs.site || 'all' }}

0 commit comments

Comments
 (0)