Skip to content

Copy resume.html to index.html in GitHub Pages deployment#8

Merged
lyninx merged 2 commits intomainfrom
copilot/add-prepare-pages-content-step
Feb 8, 2026
Merged

Copy resume.html to index.html in GitHub Pages deployment#8
lyninx merged 2 commits intomainfrom
copilot/add-prepare-pages-content-step

Conversation

Copy link
Contributor

Copilot AI commented Feb 8, 2026

GitHub Pages serves index.html as the default page, but the repository contains resume.html.

Changes

  • Added Prepare pages content step in .github/workflows/static.yml that copies resume.html to index.html before deployment
  • Positioned between Checkout and Setup Pages steps to ensure the file exists before artifact upload
- name: Prepare pages content
  run: cp ./examples/resume/resume.html ./examples/resume/index.html

The deployment artifact now includes both files, allowing the resume to be served at the site root.

Original prompt

In .github/workflows/static.yml, add a "Prepare pages content" step before the "Setup Pages" step that copies resume.html to index.html so that GitHub Pages serves the resume file as the default page.

The new step should be:

      - name: Prepare pages content
        run: cp ./examples/resume/resume.html ./examples/resume/index.html

This step should be inserted after the "Checkout" step and before the "Setup Pages" step in the deploy job.

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Feb 8, 2026
Co-authored-by: lyninx <8812109+lyninx@users.noreply.github.com>
Copilot AI changed the title [WIP] Add prepare pages content step for GitHub Pages Copy resume.html to index.html in GitHub Pages deployment Feb 8, 2026
Copilot AI requested a review from lyninx February 8, 2026 02:45
@lyninx lyninx marked this pull request as ready for review February 8, 2026 02:45
Copilot AI review requested due to automatic review settings February 8, 2026 02:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Pages deployment workflow so the site serves the resume by default, by ensuring an index.html exists in the published artifact directory.

Changes:

  • Added a “Prepare pages content” step to copy examples/resume/resume.html to examples/resume/index.html before Pages setup and artifact upload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lyninx lyninx merged commit 0752a78 into main Feb 8, 2026
7 checks passed
@lyninx lyninx deleted the copilot/add-prepare-pages-content-step branch February 8, 2026 02:48
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.

3 participants