Skip to content

Deploy to GitHub Pages via GitHub Actions#1

Merged
ambushhere merged 1 commit into
mainfrom
copilot/deploy-github-pages
Mar 27, 2026
Merged

Deploy to GitHub Pages via GitHub Actions#1
ambushhere merged 1 commit into
mainfrom
copilot/deploy-github-pages

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 27, 2026

The project had no CI/CD pipeline and no GitHub Pages configuration.

Changes

  • .github/workflows/deploy.yml — New workflow that triggers on push to main: installs deps, runs npm run build, and deploys dist/ using the official actions/upload-pages-artifact + actions/deploy-pages action pair with least-privilege permissions (pages: write, id-token: write).

  • vite.config.ts — Changed base from './''/green-path/' so bundled asset paths resolve correctly under the GitHub Pages subdirectory (https://ambushhere.github.io/green-path/).

Required one-time setup

In Settings → Pages, set source to GitHub Actions — the workflow handles everything after that.

Copilot AI requested a review from ambushhere March 27, 2026 12:45
@ambushhere ambushhere marked this pull request as ready for review March 27, 2026 12:48
@ambushhere ambushhere merged commit 618bf11 into main Mar 27, 2026
1 check passed
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