Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit 290f675

Browse files
committed
---
1 parent d374862 commit 290f675

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

action.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -514,21 +514,26 @@ runs:
514514
echo "✅ Code quality metrics extracted"
515515
continue-on-error: true
516516

517-
- name: Upload visual artifacts for code reviewers
518-
uses: actions/upload-artifact@v4
517+
# ────────────────────────────────────────────────────────────
518+
# ✅ Upload dashboard as a *Pages artefact* ⇣ (FIX #1)
519+
# ────────────────────────────────────────────────────────────
520+
- name: Upload Pages artifact
521+
if: inputs.enable-github-pages == 'true' && always()
522+
uses: actions/upload-pages-artifact@v3
519523
with:
520-
name: gui-test-visual-artifacts
521-
path: artifacts/
522-
retention-days: ${{ inputs.artifacts-retention-days }}
524+
name: gui-test-visual-artifacts # referenced below
525+
path: artifacts/web-report # directory that contains index.html
523526
continue-on-error: true
524-
527+
528+
# ────────────────────────────────────────────────────────────
529+
# ✅ Deploy to GitHub Pages (FIX #2)
530+
# ────────────────────────────────────────────────────────────
525531
- name: Deploy visual dashboard to GitHub Pages
526532
id: deploy-report
527533
if: inputs.enable-github-pages == 'true' && always()
528534
uses: actions/deploy-pages@v4
529535
with:
530-
artifact_name: gui-test-visual-artifacts
531-
path: artifacts/web-report
536+
artifact_name: gui-test-visual-artifacts # matches upload step
532537
continue-on-error: true
533538

534539
- name: Post comprehensive visual feedback to PR

0 commit comments

Comments
 (0)