Debug portfolio github pages deployment#1
Draft
Psychopatate-spec wants to merge 2 commits into
Draft
Conversation
- Add workflow to build with PUBLIC_URL=/portfolio and deploy via Pages - Remove gh-pages scripts/dependency; add local production preview script This eliminates concurrent Pages runs and aligns deployment with repo settings.
|
Cursor Agent can help with this pull request. Just |
- Restore gh-pages scripts and dependency - Remove GitHub Actions Pages workflow - Keep local production preview script for easy testing Repo will deploy from gh-pages branch via npm run deploy.
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.
Switch GitHub Pages deployment to GitHub Actions and add a local preview script.
This resolves deployment conflicts caused by using both
gh-pagesand an auto-generated GitHub Actions workflow, and fixes the blank page issue when previewing local production builds by providing a dedicatedpreviewscript.