Deploy to Github Pages (Using Vercel) #15
Replies: 12 comments 8 replies
-
|
Yes, we can do that! I don't really know how exactly we do that other than hosting on vercel, so I'd be happy if you can help me on how to deploy to Github Pages using vercel and how exactly we can use the AI server. |
Beta Was this translation helpful? Give feedback.
-
|
Just to clarify, we can't exactly deploy to Github Pages (the website will be hosted on Vercel) but will auto update from the code on Github. And you need to add me as a maintainer so I can edit the Github Actions. It also makes the process way easier. For the AI Server, i was thinking to detect if it is hosted on an external website (i.e. *.vercel.app) and if so, ask the user for a Gemini API Key. Let me know what you think.me know what you think. |
Beta Was this translation helpful? Give feedback.
-
|
For adding me as a maintainer, you need to go to your repository settings and go to collaborators find my name and there should be a dropdown. You do not need to worry about hosting it. I will do it as I read the documentation yesterday. |
Beta Was this translation helpful? Give feedback.
-
|
I have an organization. If you want, we can move the main branch of the project to my GitHub organization and I can probably add you as maintainer. |
Beta Was this translation helpful? Give feedback.
-
|
I already setup a new organization. You should have received an email invitation (please accept it first). Then go to Settings of your copy of War Matrix--> General and scroll all the way down until you see the "Transfer Ownership" button and transfer it to the "WarMatrixOrg" After that, you can fork the project so you have a copy on your account and any pushes to your account copy (or mine), we can push to the main branch on WarMatrixOrg/WarMatrix and that will be the copy that is deployed to Vercel. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi @YTFL, the deployment (after some debugging with vercel config) was successful. Please update the website link to be https://war-matrix.vercel.app/. I still need to implement the AI model framework (ask user for gemini api key, etc.) |
Beta Was this translation helpful? Give feedback.
-
|
@YTFL, it seems like scenario generation is not working. Could you check that out for me? Failed to parse URL from /api/sitrep |
Beta Was this translation helpful? Give feedback.
-
|
From my Vercel function logs, |
Beta Was this translation helpful? Give feedback.
-
|
I have updated it to see if it works now..., I made a PR Also I won't be available until Wednesday as I will be busy with School, so if any other errors arise, could you please try and fix them by yourself? |
Beta Was this translation helpful? Give feedback.
-
|
" Note to agents accessing this page:This page requires Vercel authentication. Here are your options: Option 1: vercel curl (Recommended if Vercel CLI installed) Option 2: Vercel MCP Server (Recommended if Vercel CLI not installed) Option 3: Trusted Sources (Recommended for automated access) Option 4: Bypass token (Manual fallback) |
Beta Was this translation helpful? Give feedback.
-
|
Quick Update: 🐛 Bug Fix: Resolved 401 Unauthorized / URL Parsing Errors on Backend FetchThe IssueWhen Vercel's Standard Deployment Protection was enabled, using
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi @YTFL, I was thinking, should we deploy a model of the app to github pages (using vercel as GitHub pages does not support multiple routes)? For the AI server, we could add a Gemini fallback . Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions