Fix GitHub Pages blank page: deploy static docs instead of Vue SPA#44
Merged
MaximumTrainer merged 1 commit intomainfrom Apr 7, 2026
Merged
Fix GitHub Pages blank page: deploy static docs instead of Vue SPA#44MaximumTrainer merged 1 commit intomainfrom
MaximumTrainer merged 1 commit intomainfrom
Conversation
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>
Copilot created this pull request from a session on behalf of
MaximumTrainer
April 7, 2026 11:38
View session
There was a problem hiding this comment.
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/websiteas 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The GitHub Pages site at
maximumtrainer.github.io/OpenDataMaskrenders 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 atdocs/website/instead offrontend/distnpm ci, andnpm run buildsteps (static HTML needs no build)frontend/**→docs/website/**