This repository was archived by the owner on Jan 28, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments