Skip to content

Remove conflicting GitHub Pages workflow#45

Merged
maximilien-noal merged 3 commits intomainfrom
copilot/merge-github-pages-workflows
Nov 10, 2025
Merged

Remove conflicting GitHub Pages workflow#45
maximilien-noal merged 3 commits intomainfrom
copilot/merge-github-pages-workflows

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 10, 2025

Merge GitHub Pages workflows to fix 404 error

Corrected approach based on user feedback:

  • The static.yml workflow is the one created by the user via GitHub settings and should be kept
  • The deploy-pages.yml workflow was redundant and has been removed
  • Updated static.yml to deploy the docs/ directory (where index.html is located) instead of the entire repository

Changes made:

  • Analyze existing workflows and identify the issue
  • Restore static.yml workflow (the one created by user)
  • Remove deploy-pages.yml workflow
  • Update static.yml to deploy docs/ directory instead of entire repository (.)
  • Validate YAML syntax

Result:

  • Only one GitHub Pages workflow remains (static.yml)
  • It now deploys the docs/ directory which contains index.html
  • This should resolve the 404 error on GitHub Pages
  • The workflow triggers on pushes to main branch or manual workflow dispatch
Original prompt

This section details on the original issue you should resolve

<issue_title>merge the two github pages workflows into the one I created</issue_title>
<issue_description>404

File not found

The site configured at this address does not contain the requested file.

If this is your site, make sure that the filename case matches the URL as well as any file permissions.
For root URLs (like http://example.com/) you must provide an index.html file.

Read the full documentation for more information about using GitHub Pages.
GitHub Status@githubstatus</issue_description>

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.

@maximilien-noal maximilien-noal added the documentation Improvements or additions to documentation label Nov 10, 2025
Co-authored-by: maximilien-noal <1087524+maximilien-noal@users.noreply.github.com>
@maximilien-noal
Copy link
Copy Markdown
Member

@copilot no the one I created with the github settings, but it is probably false, is the one to keep

that is, the static.yml file

Copilot AI changed the title [WIP] Merge the two GitHub Pages workflows into one Remove conflicting GitHub Pages workflow Nov 10, 2025
…ic.yml to deploy docs/

Co-authored-by: maximilien-noal <1087524+maximilien-noal@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Nov 10, 2025

@copilot no the one I created with the github settings, but it is probably false, is the one to keep

that is, the static.yml file

Corrected in commit a23292b. Kept static.yml (the workflow you created via GitHub settings), removed deploy-pages.yml, and updated static.yml to deploy the docs/ directory instead of the entire repository so it serves the index.html file correctly.

@maximilien-noal maximilien-noal marked this pull request as ready for review November 10, 2025 14:02
@maximilien-noal maximilien-noal merged commit 0ab16da into main Nov 10, 2025
1 check passed
@maximilien-noal maximilien-noal deleted the copilot/merge-github-pages-workflows branch November 10, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

merge the two github pages workflows into the one I created

2 participants