[PR #10] [CLOSED] Migrate from GitHub Pages to Vercel deployment #13

Closed
opened 2026-03-16 12:11:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hipcityreg/situation-monitor/pull/10
Author: @xaelophone
Created: 1/11/2026
Status: Closed

Base: mainHead: feature/vercel-migration


📝 Commits (1)

  • 01ea3ca Migrate from GitHub Pages to Vercel deployment

📊 Changes

6 files changed (+7820 additions, -7554 deletions)

View changed files

📝 .github/workflows/deploy.yml (+35 -26)
📝 .gitignore (+1 -0)
📝 package-lock.json (+7780 -7512)
📝 package.json (+1 -1)
src/routes/+layout.ts (+0 -3)
📝 svelte.config.js (+3 -12)

📄 Description

Summary

  • Switch from static site deployment (GitHub Pages) to Vercel for better secrets management and preview deployments
  • Replace @sveltejs/adapter-static with @sveltejs/adapter-vercel
  • GitHub Pages now serves a redirect to situation-monitor.vercel.app
  • Removes src/routes/+layout.ts which was only needed for static prerendering

Changes

File Change
svelte.config.js Switch to Vercel adapter
src/routes/+layout.ts Deleted (not needed for SSR)
.github/workflows/deploy.yml Deploys redirect page only
.gitignore Added .vercel/
package.json Updated dependencies

Manual Steps Required After Merge

  1. Create Vercel project at https://vercel.com/new
  2. Import hipcityreg/situation-monitor repository
  3. Add environment variable: VITE_FINNHUB_API_KEY
  4. Deploy

Test plan

  • npm run build succeeds with Vercel adapter
  • npm run check passes TypeScript checks
  • Vercel deployment succeeds after setup
  • Environment variables work (no Finnhub warnings)
  • GitHub Pages redirect works

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hipcityreg/situation-monitor/pull/10 **Author:** [@xaelophone](https://github.com/xaelophone) **Created:** 1/11/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/vercel-migration` --- ### 📝 Commits (1) - [`01ea3ca`](https://github.com/hipcityreg/situation-monitor/commit/01ea3cafb53e5dc86cc808d993c6ca0ffd4acb09) Migrate from GitHub Pages to Vercel deployment ### 📊 Changes **6 files changed** (+7820 additions, -7554 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/deploy.yml` (+35 -26) 📝 `.gitignore` (+1 -0) 📝 `package-lock.json` (+7780 -7512) 📝 `package.json` (+1 -1) ➖ `src/routes/+layout.ts` (+0 -3) 📝 `svelte.config.js` (+3 -12) </details> ### 📄 Description ## Summary - Switch from static site deployment (GitHub Pages) to Vercel for better secrets management and preview deployments - Replace `@sveltejs/adapter-static` with `@sveltejs/adapter-vercel` - GitHub Pages now serves a redirect to `situation-monitor.vercel.app` - Removes `src/routes/+layout.ts` which was only needed for static prerendering ## Changes | File | Change | |------|--------| | `svelte.config.js` | Switch to Vercel adapter | | `src/routes/+layout.ts` | Deleted (not needed for SSR) | | `.github/workflows/deploy.yml` | Deploys redirect page only | | `.gitignore` | Added `.vercel/` | | `package.json` | Updated dependencies | ## Manual Steps Required After Merge 1. Create Vercel project at https://vercel.com/new 2. Import `hipcityreg/situation-monitor` repository 3. Add environment variable: `VITE_FINNHUB_API_KEY` 4. Deploy ## Test plan - [x] `npm run build` succeeds with Vercel adapter - [x] `npm run check` passes TypeScript checks - [ ] Vercel deployment succeeds after setup - [ ] Environment variables work (no Finnhub warnings) - [ ] GitHub Pages redirect works 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:11:48 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/situation-monitor#13
No description provided.