Skip to content

Add GitHub Actions workflow for static site deployment#7

Merged
lyninx merged 1 commit intomainfrom
lyninx-patch-1
Feb 8, 2026
Merged

Add GitHub Actions workflow for static site deployment#7
lyninx merged 1 commit intomainfrom
lyninx-patch-1

Conversation

@lyninx
Copy link
Owner

@lyninx lyninx commented Feb 8, 2026

This workflow automates the deployment of static content to GitHub Pages on pushes to the main branch or manually via the Actions tab.

This workflow automates the deployment of static content to GitHub Pages on pushes to the main branch or manually via the Actions tab.
Copilot AI review requested due to automatic review settings February 8, 2026 02:31
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

Adds a GitHub Actions workflow to deploy static content from this repo to GitHub Pages, triggered on pushes to main or via manual dispatch.

Changes:

  • Introduces a static.yml workflow to configure GitHub Pages and deploy an uploaded artifact.
  • Uploads static files from ./examples/resume for deployment.

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

Comment on lines +36 to +38
uses: actions/upload-pages-artifact@v3
with:
path: './examples/resume'
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

The uploaded Pages artifact points at ./examples/resume, but that directory doesn’t contain an index.html. GitHub Pages will serve index.html at the site root; without it, / will 404 (users would have to know to visit /resume.html). Consider adding an index.html (or a build/rename step to create one) in the deployed artifact so the Pages root is usable.

Copilot uses AI. Check for mistakes.
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

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

This workflow uses runs-on: ubuntu-latest, which can change over time and introduce unexpected breakages. The repo’s CI workflow pins the runner (ubuntu-22.04); consider pinning here as well for reproducibility.

Suggested change
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

Copilot uses AI. Check for mistakes.
@lyninx lyninx merged commit 081f050 into main Feb 8, 2026
7 checks passed
@lyninx lyninx deleted the lyninx-patch-1 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.

2 participants