ci: build & deploy to GH pages

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ieedfca23ce8b2b52ebae5b81095973056a6a6964
This commit is contained in:
raf 2026-01-22 22:50:47 +03:00
commit 33ac91e339
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 56 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import solidPlugin from 'vite-plugin-solid';
export default defineConfig({
plugins: [solidPlugin()],
base: process.env.GITHUB_PAGES ? '/nix-evaluator-stats/' : './',
server: {
port: 3000,
open: false,