Skip to content

fix(ci): set DOCS_BASE_PATH for GH Pages deploy#137

Merged
pratyush618 merged 1 commit into
masterfrom
fix/docs-deploy-basepath
May 5, 2026
Merged

fix(ci): set DOCS_BASE_PATH for GH Pages deploy#137
pratyush618 merged 1 commit into
masterfrom
fix/docs-deploy-basepath

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

PR #136 made DOCS_BASE_PATH an explicit env var (replacing the NODE_ENV === "production" heuristic) so local pnpm build && pnpm start serves cleanly at /. The deploy workflow was never updated, so the GH Pages build went out without /taskito as the basePath — every CSS/JS asset under docs.byteveda.org/taskito/ 404s and the live site renders raw unstyled HTML.

This passes DOCS_BASE_PATH=/taskito into the workflow's build step. CI builds get the deploy basePath; local builds keep their root-mounted preview.

Test plan

  • Workflow re-runs on merge to master
  • docs.byteveda.org/taskito/ renders with full styling
  • Asset URLs in the deployed HTML start with /taskito/_next/...
  • Internal navigation (Getting Started, Guides, Architecture, …) works

@github-actions github-actions Bot added the ci label May 5, 2026
@pratyush618 pratyush618 merged commit 940ed63 into master May 5, 2026
15 checks passed
@pratyush618 pratyush618 deleted the fix/docs-deploy-basepath branch May 5, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant