Skip to content

Fix GitHub Pages blank page: deploy static docs instead of Vue SPA#44

Merged
MaximumTrainer merged 1 commit intomainfrom
copilot/fix-blank-page-issue
Apr 7, 2026
Merged

Fix GitHub Pages blank page: deploy static docs instead of Vue SPA#44
MaximumTrainer merged 1 commit intomainfrom
copilot/fix-blank-page-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

The GitHub Pages site at maximumtrainer.github.io/OpenDataMask renders a blank page because the deploy workflow builds and publishes the Vue 3 frontend SPA (frontend/dist), which requires a live backend API to render anything.

The actual documentation site is a set of static HTML files in docs/website/.

Changes

  • deploy-website.yml: Point the Pages deployment at docs/website/ instead of frontend/dist
    • Remove Node.js setup, npm ci, and npm run build steps (static HTML needs no build)
    • Update push trigger paths from frontend/**docs/website/**

The deploy-website workflow was building and deploying the Vue 3 SPA
(frontend/dist) which requires an API backend and shows a blank page
on GitHub Pages. Changed to deploy the static HTML documentation from
docs/website/ which contains the actual project website.

Agent-Logs-Url: https://github.com/MaximumTrainer/OpenDataMask/sessions/c5dbbc1e-4b7f-4a3e-9c16-3f025720a1c5

Co-authored-by: MaximumTrainer <1376575+MaximumTrainer@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the GitHub Pages site rendering a blank page by changing the Pages deployment workflow to publish the existing static documentation site (docs/website/) instead of the Vue SPA build output (frontend/dist).

Changes:

  • Update the deploy workflow trigger to run on changes under docs/website/** (and the workflow file itself).
  • Remove the Node/Vue build steps and directly upload docs/website as the Pages artifact.
  • Adjust job naming to reflect deploying the static website.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MaximumTrainer MaximumTrainer marked this pull request as ready for review April 7, 2026 11:41
@MaximumTrainer MaximumTrainer merged commit b0c42e9 into main Apr 7, 2026
4 checks passed
@MaximumTrainer MaximumTrainer deleted the copilot/fix-blank-page-issue branch April 7, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants