Skip to content

Fix VitePress base path for organization GitHub Pages deployment#2177

Merged
jzabroski merged 2 commits into
mainfrom
copilot/fix-vitepress-publishing-issue
Nov 19, 2025
Merged

Fix VitePress base path for organization GitHub Pages deployment#2177
jzabroski merged 2 commits into
mainfrom
copilot/fix-vitepress-publishing-issue

Conversation

Copilot AI commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

The VitePress site was deploying to fluentmigrator.github.io/fluentmigrator/ instead of the root fluentmigrator.github.io/. The workflow executed successfully but the site was inaccessible at the expected URL.

Changes

  • Changed base: '/fluentmigrator/' to base: '/' in docs-website/.vitepress/config.mts

Context

Organization GitHub Pages deploy to <org>.github.io/ at root, not <org>.github.io/<repo>/. The /fluentmigrator/ base path is appropriate for project pages but incorrect for organization pages.

export default defineConfig({
    title: 'FluentMigrator',
    description: 'A .NET migration framework for database schema management',
    lang: 'en-US',
    head: headers,
-   base: '/fluentmigrator/',
+   base: '/',

After merge, the next workflow run will deploy to the correct root location.

Original prompt

This section details on the original issue you should resolve

<issue_title>Investigate why workflow is not publishing new VitePress site to fluentmigrator.github.io</issue_title>
<issue_description>Describe the bug
@PhenX built a new Vitepress powered documentation site for fluentmigrator.github.io. The first GitHub Action to publish it succeeded, but the site is still using our old https://github.com/fluentmigrator/documentation published site, indicating no publishing occurred. We have enabled GitHub Pages for fluentmigrator.github.io

Expected behavior
Publish VitePress powered docs to fluentmgirator.github.io GitHub Pages.

</issue_description>

<agent_instructions>Use https://github.com/fluentmigrator/fluentmigrator/actions/workflows/deploy-docs.yml to determine why the website is not publishing to GitHub pages</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Investigate workflow issue preventing VitePress site publishing Fix VitePress base path for organization GitHub Pages deployment Nov 18, 2025
Copilot AI requested a review from jzabroski November 18, 2025 19:43
@github-actions

github-actions Bot commented Nov 18, 2025

Copy link
Copy Markdown

Test Results

    1 files  ±0      1 suites  ±0   35s ⏱️ -1s
5 344 tests ±0  5 012 ✅ ±0  332 💤 ±0  0 ❌ ±0 
5 825 runs  ±0  5 229 ✅ ±0  596 💤 ±0  0 ❌ ±0 

Results for commit dfab176. ± Comparison against base commit 9c1772f.

♻️ This comment has been updated with latest results.

@jzabroski
jzabroski marked this pull request as ready for review November 19, 2025 15:13
@jzabroski
jzabroski merged commit f94ea41 into main Nov 19, 2025
1 of 6 checks passed
@jzabroski
jzabroski deleted the copilot/fix-vitepress-publishing-issue branch November 19, 2025 15:13
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.

Investigate why workflow is not publishing new VitePress site to fluentmigrator.github.io

2 participants